<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 - [pdfseparate] Near-eternal loop, 3 exabyte file output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85233">85233</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[pdfseparate] Near-eternal loop, 3 exabyte file output
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>minor
          </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>ravdune+bugzilla@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=108108" name="attach_108108" title="disk-fill.pdf">attachment 108108</a> <a href="attachment.cgi?id=108108&action=edit" title="disk-fill.pdf">[details]</a></span>
disk-fill.pdf

OS: Fedora 20 (running in virtualbox)
Dependencies installed with: yum-builddep poppler
Version: GIT Master
Command line for loop demonstration: master/utils/pdfseparate <attached.pdf>
/dev/null
Command line for filling disk: master/utils/pdfseparate <attached.pdf> out-%d

Attached several files that repeat this, basically there's an output loop that
attempts to write 3,695,785,924,655,524,693 bytes (3.6 exabytes) to disk.
Should probably sanity check the size. Obviously minor bug.

  for (Goffset i = 0; i < length; i++) {
    int c = str->getUnfilteredChar();
    outStr->printf("%c", c);  
  }

  Here with attached file & command line length = 3695785924655524693</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>