Patch: uninitialized read error in bitmap.c

Richard Henderson rth@redhat.com
Tue Sep 10 12:51:00 GMT 2002


On Mon, Sep 09, 2002 at 08:02:18PM -0700, Anthony Green wrote:
> -  c.first = c.current = 0;
> +  c.first = c.current = c.indx = c.using_obstack = 0;

I'd prefer this to be

	memset (&c, 0, sizeof c));

Ok like that.


r~



More information about the Gcc-patches mailing list