Cannot read cross-reference streams where offsets are stored on more than 4 bytes
Bug #961188 reported by
Vincent
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: | added: oneiric |
To post a comment you must log in.