[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 13:47:07 UTC 2018


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

--- Comment #4 from Evangelos Foutras <evangelos at foutrelis.com> ---
Created attachment 138492
  --> https://bugs.freedesktop.org/attachment.cgi?id=138492&action=edit
[PATCH v2] Fix PDFDoc::checkHeader() for PDFs smaller than 1 KiB

Same approach, more readable code. Testing with `./utils/pdfinfo
test-empty-outline.pdf` shows the correct PDF version and doesn't print any
warnings.

Thanks for the feedback on these patches.

-- 
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/91c476aa/attachment.html>


More information about the Poppler-bugs mailing list