Commit ea33bfc5 by Neil Booth Committed by Neil Booth

tradcpp.c (special_symbol): Assign an null string rather than writing to an unallocated buffer.

        * tradcpp.c (special_symbol): Assign an null string rather
        than writing to an unallocated buffer.

From-SVN: r37278
parent 56051c0a
2000-11-06 Neil Booth <neilb@earthling.net>
* tradcpp.c (special_symbol): Assign an null string rather
than writing to an unallocated buffer.
2000-11-06 Neil Booth <neilb@earthling.net>
* cpplex.c (_cpp_equiv_tokens): Check arg_no in the
CPP_MACRO_ARG case.
......
......@@ -2075,7 +2075,7 @@ special_symbol (hp, op)
sprintf (buf, "\"%s\"", string);
}
else
strcpy (buf, "\"\"");
buf = (char *) "";
break;
}
......
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