[Poppler-bugs] [Bug 105674] Spurious warning in PDFDoc::checkHeader() with tiny PDF files

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 2 10:59:50 UTC 2018


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

--- Comment #2 from Albert Astals Cid <aacid at kde.org> ---
Can you attach such a small pdf for testing?

Also what do you think of introducing a GBool headerFound instead of int n? 

And then make the check be over headerFound instead of i >= n - 5, i think it
would make the code easier to understand.

-- 
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/20180402/6bf45175/attachment.html>


More information about the Poppler-bugs mailing list