[Poppler-bugs] [Bug 23025] Problem decoding JBIG2Stream stream

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 3 15:56:42 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23025





--- Comment #2 from David Benjamin <davidben at mit.edu>  2009-09-03 15:56:41 PST ---
Created an attachment (id=29194)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=29194)
Correctly set the value of symCodeLen

JBIG2Stream had an off-by-one error. It was computing symCodeLen incorrectly.
(1+floor vs ceil). This patch should fix it.

Did I mention this mistake was hard to find? I had the spec in one hand,
JBIG2Stream.cc in the other...


-- 
Configure bugmail: http://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