[Bug java/22113] Buffer overflow in the lexical analyser while reading FP literals

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 16 18:49:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list