You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#sadly we need to use a temp zip file, because otherwise zip insists on using zip64 extensions which breaks zip -A (as well as any attempts to read any files).
{ //commands always take precedence over aliases (so mods can't clobber 'quit' etc), so creating an alias with one of these names is stupid. always try to rename them.
1193
-
if (Cmd_IsInsecure())
1193
+
if (Cmd_IsInsecure()&&snprintf(cmd, sizeof(cmd), "%s_a", s) <sizeof(cmd))
1194
1194
{
1195
-
snprintf(cmd, sizeof(cmd), "%s_a", s);
1196
1195
if (Cmd_Exists (cmd))
1197
1196
{
1198
1197
Con_Printf (S_COLOR_RED"Can't register alias, %s is a command\n", s);
0 commit comments