[Patch] PR java/22113: Fix buffer overflow in Java lexer for FP literals
Ranjit Mathew
rmathew@gmail.com
Tue Aug 16 18:08:00 GMT 2005
Hi,
This is a naive but effective patch for PR java/22113 where
the 'literal_token' buffer of do_java_lex() in lex.c for reading
in an FP literal was overflowing in cases like the Jacks testcase
3.10.2-round-6.
Tested on i686-pc-linux-gnu with Jacks included. Produces
no new failures and fixes the recent FAIL-ing of 3.10.2-round-6
on i686-pc-linux-gnu at least.
OK for mainline?
Thanks,
Ranjit.
:ADDPATCH java:
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr22113.txt
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050816/25f8589e/attachment.txt>
More information about the Java-patches
mailing list