This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Uninitialised memory read in gcc-2.95.2/gcc/cccp.c


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]