(process_command): Allocate space for terminating null.

From-SVN: r13641
This commit is contained in:
Richard Kenner 1997-02-15 17:25:35 -05:00
parent 59927d6b34
commit eb2be0e656
1 changed files with 1 additions and 1 deletions

View File

@ -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,