[Poppler-bugs] [Bug 91186] Malformed input will cause a stack overflow and crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 6 11:48:19 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91186

--- Comment #1 from Jason Crain <jason at aquaticape.us> ---
Created attachment 118106
  --> https://bugs.freedesktop.org/attachment.cgi?id=118106&action=edit
Fix JBIG2Decode infinite loop and stack overflow

A PDF object with a JBIG2Decode filter can create a stack overflow or infinite
loop.  This patch fixes the stack overflow by adding the 'recursion' argument
to the fetch call.  And it fixes the infinite loop by removing the reference
lookup loop since chains of references aren't allowed by the spec.  At least I
haven't seen any other reader that supports them.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150906/8de79349/attachment.html>


More information about the Poppler-bugs mailing list