[Bug bootstrap/12490] buffer overflow in scan-decls.c (bootstrap fails)

mark at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Sun Oct 5 18:29:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12490



------- Additional Comments From mark at codesourcery dot com  2003-10-05 18:29 -------
Subject: Re:  buffer overflow in scan-decls.c
	(bootstrap fails)

On Fri, 2003-10-03 at 23:18, ebotcazou at gcc dot gnu dot org wrote:
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12490

This patch is OK.  For extra brownie points, add an error message in the
case that extern_C_braces_length overflows the array bounds, but that's
not necessary if you don't have time.

Thanks,



More information about the Gcc-bugs mailing list