This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Uninitialised memory read in gcc-2.95.2/gcc/cccp.c
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Uninitialised memory read in gcc-2.95.2/gcc/cccp.c
- From: Martin Stromberg <Martin dot Stromberg at lu dot erisoft dot se>
- Date: Sun, 5 Mar 2000 17:55:10 +0100 (MET)
Patch:
diff -ru gcc-2.95.2.org/gcc/cccp.c gcc-2.95.2/gcc/cccp.c
--- gcc-2.95.2.org/gcc/cccp.c Tue Jun 1 19:10:01 1999
+++ gcc-2.95.2/gcc/cccp.c Sun Mar 5 16:42:31 2000
@@ -3981,7 +3981,7 @@
case '\'':
case '\"':
{
- int backslash_newlines_p;
+ int backslash_newlines_p = 0;
register U_CHAR *bp1
= skip_quoted_string (xp - 1, bp, ip->lineno,
Right,
MartinS