<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Segfault / invalid read in Hints::Hints / PDFDoc::checkLinearization when using pdfinfo"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97005">97005</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segfault / invalid read in Hints::Hints / PDFDoc::checkLinearization when using pdfinfo
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>utils
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jake.yamaki@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=125157" name="attach_125157" title="crashing testcase">attachment 125157</a> <a href="attachment.cgi?id=125157&action=edit" title="crashing testcase">[details]</a></span>
crashing testcase

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

<span class="quote">> valgrind pdfinfo file.min</span >
...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...</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>