[Poppler-bugs] [Bug 97005] New: Segfault / invalid read in Hints::Hints / PDFDoc::checkLinearization when using pdfinfo

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 20 14:49:06 UTC 2016


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

            Bug ID: 97005
           Summary: Segfault / invalid read in Hints::Hints /
                    PDFDoc::checkLinearization when using pdfinfo
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: utils
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: jake.yamaki at gmail.com

Created attachment 125157
  --> https://bugs.freedesktop.org/attachment.cgi?id=125157&action=edit
crashing testcase

Found with american fuzzy lop.  See attached for crashing testcase.

> valgrind pdfinfo file.min
...snip...
==28152== Invalid read of size 8
==28152==    at 0x505C553: Hints::Hints(BaseStream*, Linearization*, XRef*,
SecurityHandler*) (Hints.cc:46)
==28152==    by 0x50B772B: PDFDoc::checkLinearization() (PDFDoc.cc:560)
==28152==    by 0x50B6D11: PDFDoc::getPage(int) (PDFDoc.cc:2006)
==28152==    by 0x408690: JSInfo::scan(int) (JSInfo.cc:165)
==28152==    by 0x40366D: main (pdfinfo.cc:286)
==28152==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==28152== 
==28152== Process terminating with default action of signal 11 (SIGSEGV)
==28152==  Access not within mapped region at address 0x0
...snip...

-- 
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/20160720/9ebea102/attachment.html>


More information about the Poppler-bugs mailing list