[poppler] [PATCH] Fullrewrite produces an invalid XRef table entry

Fabio D'Urso fabiodurso at hotmail.it
Thu Oct 4 02:53:36 PDT 2012


When fullrewriting https://bugzilla.gnome.org/attachment.cgi?id=166995 we 
currently write a "-000000001 00000 f" entry in the XRef table for object 19.
It is obviously invalid and I'm attaching a patch to fix it.
The -1 value comes from XRefEntry::offset being left to the initial value of 
0xffffffff (which is actually a placeholder for uninitialized value).

Fabio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Free-entries-in-the-xref-form-a-linked-list-terminat.patch
Type: text/x-patch
Size: 859 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20121004/99a3c6df/attachment.bin>


More information about the poppler mailing list