poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60305] Gracefully handle AIOOBE in Pictures stream in HSLF
Date Mon, 31 Oct 2016 20:04:47 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60305

--- Comment #5 from Tim Allison <tallison@mitre.org> ---
Does that mean that the previous image's length is wrong?

If I understand correctly, there are two faulty png headers at the end of the
stream.  The first one says the image should be 414273 (065241) bytes long. 
Then ~75 bytes later, there's another PNG signature, and its header says that
the image should be 273665 (042D01).  If I copy and paste from the second PNG
signature to the end (042D09), I get a png file that I can open.  If I actually
truncate it to 273665 (042D01), I get a corrupt file.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message