[Bug bootstrap/12490] buffer overflow in scan-decls.c (bootstrap fails)
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 8 12: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 cvs-commit at gcc dot gnu dot org 2003-10-08 12:29 -------
Subject: Bug 12490
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ebotcazou@gcc.gnu.org 2003-10-08 12:29:28
Modified files:
gcc : ChangeLog scan-decls.c
Log message:
PR bootstrap/12490
* scan-decls.c (MAX_EXTERN_C_BRACES): New preprocessor constant
to define the size of the extern_C_braces array. Set it to 200.
(scan_decls): Abort when extern_C_braces_length is out-of-bounds.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1336&r2=2.1337
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/scan-decls.c.diff?cvsroot=gcc&r1=1.32&r2=1.33
More information about the Gcc-bugs
mailing list