https://issues.apache.org/bugzilla/show_bug.cgi?id=52385
Yegor Kozlov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Yegor Kozlov <[email protected]> 2012-02-15 07:53:08 UTC --- Your hypothesis seems to be correct. I changed TypedPropertyValue.read(byte[], int) to return the unpadded offset and it fixed the problem. The fix has been committed in 1244388 Regards, Yegor (In reply to comment #2) > I had a look around the code, the bug seems to be in > > TypedPropertyValue.read(byte[], int) > > in the fact that it automatically pads the result, i.e. returns a 'padded' > offset. This is bad when reading the Heading Pairs vector (and possibly > others) > in the DocumentSummaryInformation stream, as they use *unpadded* strings of > the > type UnalignedLpstr > (http://msdn.microsoft.com/en-us/library/dd950621%28v=office.12%29.aspx). > I hope that this is the same bug, and not completely unrelated. > > Nik -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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]
