diff options
author | Neil Booth <neilb@earthling.net> | 2000-11-06 18:58:28 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2000-11-06 18:58:28 +0000 |
commit | ea33bfc554b774b3242edda58cca84c9c7770bfa (patch) | |
tree | b5d548ce2debb01dfd8afd76c84d3b1dc7a5a79a /gcc/tradcpp.c | |
parent | 56051c0abd9ba1c659367b4e3530ae073d0bb9ba (diff) | |
download | gcc-ea33bfc554b774b3242edda58cca84c9c7770bfa.zip gcc-ea33bfc554b774b3242edda58cca84c9c7770bfa.tar.gz gcc-ea33bfc554b774b3242edda58cca84c9c7770bfa.tar.bz2 |
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
Diffstat (limited to 'gcc/tradcpp.c')
-rw-r--r-- | gcc/tradcpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tradcpp.c b/gcc/tradcpp.c index 125e2cb..ef51248 100644 --- a/gcc/tradcpp.c +++ b/gcc/tradcpp.c @@ -2075,7 +2075,7 @@ special_symbol (hp, op) sprintf (buf, "\"%s\"", string); } else - strcpy (buf, "\"\""); + buf = (char *) ""; break; } |