[poppler] [Patch] Fix another links crash

Marco Pesenti Gritti mpgritti at gmail.com
Thu Apr 21 06:45:35 PDT 2005


Hi,

the problem is that the glib implementation assumes (as documented in
Outline.h) that getItems will return NULL when there are no items, not
an empty list.
The patch fix it by deleting the list if it's empty.

Alternatively we could fix the glib api to check for list length, we
should fix Outline.h docs too.

Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: poppler_patch
Type: application/octet-stream
Size: 442 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20050421/bfe2d067/poppler_patch.obj


More information about the poppler mailing list