[Poppler-bugs] [Bug 32890] setjmp is missing in DCTStream::init()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 8 20:03:06 PST 2011


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

Daiki Ueno <ueno at unixuser.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41735|0                           |1
        is obsolete|                            |

--- Comment #2 from Daiki Ueno <ueno at unixuser.org> 2011-01-08 20:03:06 PST ---
Created an attachment (id=41782)
 View: https://bugs.freedesktop.org/attachment.cgi?id=41782
 Review: https://bugs.freedesktop.org/review?bug=32890&attachment=41782

patch to call setjmp before jpeg_create_decompress()

Thanks.  The attached patch makes sure to initialize row_buffer even if
jpeg_create_decompress() fails.  Though DCTStream still keeps uninitialized
cinfo after failure, I think that it is safe since each jpeg_*() checks the
state internally.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list