[Poppler-bugs] [Bug 84555] reproducible crash with some PDF files

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 19 21:26:24 PST 2014


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

--- Comment #6 from Jason Crain <jason at aquaticape.us> ---
Created attachment 111069
  --> https://bugs.freedesktop.org/attachment.cgi?id=111069&action=edit
Move array reallocation from visitLine to startLine

If TextSelectionDumper finds exactly 257 lines of text (or probably also 513,
1025, etc) it will write past the end of the lines array without triggering a
reallocation.

Attached patch moves the array size check into TextSelectionDumper::finishLine
so it's always run when an item is added to the lines array.

-- 
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/20141220/aeaf844b/attachment.html>


More information about the Poppler-bugs mailing list