https://issues.apache.org/bugzilla/show_bug.cgi?id=56138
Bug ID: 56138
Summary: Index out of range exception in CodePageString
Product: POI
Version: 3.10-dev
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HPSF
Assignee: [email protected]
Reporter: [email protected]
Created attachment 31313
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31313&action=edit
Test case to reproduce the problem
An index out of range exception is thrown in CodePageString when reading a
PropertySet from a Microsoft Project MPP file.
I have attached a test case which reproduces the issue. The fix for the issue
is to change line 45 of CodePageString.java to add a test for zero length
strings:
Before:
if ( _value[size - 1] != 0 ) {
After:
if ( size != 0 && _value[size - 1] != 0 ) {
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]