You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2016/11/02 23:12:25 UTC

[Bug 60305] Gracefully handle AIOOBE in Pictures stream in HSLF

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

Andreas Beeker <ki...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #6 from Andreas Beeker <ki...@apache.org> ---
I can confirm your comment #5, i.e. I was wrong in #3.
I guess this truncated picture is a rare case, and we don't need to try harder 
to find the next pictures in the sequence.

If this would happen more often in the corpus, we could try to check, if we
point beyond EOF (= the current patch) or if the referenced address contains a
invalid signature. In both cases, we could then scan through the byte array to
find a valid signature and continue from there.

I guess you don't object, if I close the bug with your resolution.

-- 
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