This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/22113] Buffer overflow in the lexical analyser while reading FP literals
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Aug 2005 18:46:48 -0000
- Subject: [Bug java/22113] Buffer overflow in the lexical analyser while reading FP literals
- References: <20050618121024.22113.rmathew@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-16 18:46 -------
Subject: Bug 22113
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rmathew@gcc.gnu.org 2005-08-16 18:46:19
Modified files:
gcc/java : ChangeLog lex.c
Log message:
PR java/22113
* lex.c (do_java_lex): Define MAX_TOKEN_LEN. Avoid overflowing
`literal_token' for large numeric input tokens.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1657&r2=1.1658
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/lex.c.diff?cvsroot=gcc&r1=1.121&r2=1.122
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22113