Hi there,
I'm just poking around in the source of batik 1.5.1 and found this:
batik.parser.NumberParser v1.9 of 2003/08/09 lines 249 - 277:
in buildFloat() there is a test for
( exp > 128 )
to return some ininifinty.
Later, exp is used as an index into the pow10 - array, which happens to be float[ 128 ].
To me, it seems, the code has problems with exp == 128 - it's not infinity and out of bounds for the array.
I think, it should be ( exp >= 128 )
dvholten
- Re: probable bug dvholten
- Re: probable bug Thomas DeWeese
