diff --git a/source/cmd.c b/source/cmd.c index 85ffc63..502de54 100644 --- a/source/cmd.c +++ b/source/cmd.c @@ -300,7 +300,7 @@ void Cmd_StuffCmds_f (void) return; // pull out the commands - build = malloc (s+21); // LordHavoc: +21 instead of +1 to account for potential basedir expansion + build = malloc (s+1); build[0] = 0; for (i=0 ; i