[poppler] XRef::addIndirectObject should not use entries with gen == 65535

Fabio D'Urso fabiodurso at hotmail.it
Sat Apr 21 12:51:46 PDT 2012

From PDF specs (Syntax > File Structure > Cross reference table):
 The maximum generation number is 65,535; when a cross-reference entry reaches
 this value, it shall never be reused.

This patch adds a check for this condition.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-allocate-XRef-entries-whose-generation-number.patch
Type: text/x-patch
Size: 872 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120421/ee8c6ee5/attachment.bin>

More information about the poppler mailing list