This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Uninitialised memory read in gcc-2.95.2/gcc/cccp.c
- To: Martin Stromberg <Martin dot Stromberg at lu dot erisoft dot se>
- Subject: Re: Uninitialised memory read in gcc-2.95.2/gcc/cccp.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 07 Mar 2000 23:48:33 -0700
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
Thanks. I installed your patch.
In message <200003051655.RAA15954@mars.lu.erisoft.se>you write:
> 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
>