Cannot read cross-reference streams where offsets are stored on more than 4 bytes

Bug #961188 reported by Vincent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
poppler (Ubuntu)
New
Undecided
Unassigned

Bug Description

In cross-reference streams, entries of type 1 refer to uncompressed indirect objects. The second field is the byte offset of the object from the beginning of the file. If the PDF file is big (> 8GB), then the offset may overflow the size of a 32bit integer. So it must be possible to store the offset on more than 4 bytes. Poppler doesn't seem to support this at the moment.

See line 633 of XRef.cc in poppler 0.16.7:
if (w[i] < 0 || w[i] > 4) {
  goto err1;
}

Tags: oneiric
madbiologist (me-again)
tags: added: oneiric
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.