Commit eb2be0e6 by Richard Kenner

(process_command): Allocate space for terminating null.

From-SVN: r13641
parent 59927d6b
......@@ -2540,7 +2540,7 @@ process_command (argc, argv)
1, 0, NULL_PTR);
else
{
char *string = xmalloc (len);
char *string = xmalloc (len + 1);
strncpy (string, value, len-7);
strcpy (string+len-7, "include");
add_prefix (&include_prefixes, string,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment