https://bz.apache.org/bugzilla/show_bug.cgi?id=60158

--- Comment #4 from Tim Allison <talli...@mitre.org> ---
I think this is a problem in RLEDecompressingInputStream.

In readChunk(), under 

if ((tokenFlags & POWER2[n]) == 0) {

if the int that is read is 'ff', when that gets cast to a byte, its value
becomes -1.

When we try to readInt() to get the module offset, the first byte returns '-1'
and we think we've hit the end of the stream and return -1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to