Summary: | [PATCH] UnicodeString#fillFields invalid read of non US characters >=128 and <=255 | ||
---|---|---|---|
Product: | POI | Reporter: | Perolo Silantico <per.sil> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | c.gosch |
Priority: | P2 | Keywords: | PatchAvailable |
Version: | 3.0-dev | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | other | ||
Attachments: | poi-UnicodeString-typecast.2006-01-11.diff |
Description
Perolo Silantico
2006-01-11 23:28:56 UTC
Created attachment 17394 [details]
poi-UnicodeString-typecast.2006-01-11.diff
patch to correct issue with type cast from byte to char.
Wow. Good catch. Confirmed that this happens with other versions of the JDK ie 1.5.0_03 Suggested change is Ok. I have tidied it up a bit and fixed all occurrances of the cast to char (ie RecordInputStream and UnnicodeString) Committed to SVN. Jason |