[Poppler-bugs] [Bug 94941] Corrupted linearization hint table causes massive memory usage and several minute delay

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 2 20:08:56 UTC 2016


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

--- Comment #4 from jmmorlan at sonic.net ---
Created attachment 125492
  --> https://bugs.freedesktop.org/attachment.cgi?id=125492&action=edit
Hints.cc patch

I really don't know much about linearization, but here's a patch to try to fix
a couple of problems that stand out:

1. If nBitsNumObjects or nBitsDiffGroupLength are greater than 32, bail out
early
2. Improve readBits efficiency (replace recursion with iteration; fix EOF
detection to work on any bit, not just those where n is equal to 1 modulo 32)

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


More information about the Poppler-bugs mailing list