Hi,

If a stream dictionary has a Filter entry that is an indirect reference like 
shown below, Podofo will return an empty filter list in 
PdfFilterFactory::CreateFilterList():

1 0 obj
<< /Filter 2 0 R >>
stream
...
endstream

2 0 obj
[ /FlateDecode ]
endobj

The attached patch fixes the problem by attempting to dereference the Filter 
object before processing it.

Med venlig hilsen/Best regards

_________________________________

Thomas Barnekov, Senior Software Developer - Lasernet

+45 43 66 02 10

Formpipe
Lautrupvang 1
2750 Ballerup
DK - Denmark
www.lasernetbyformpipe.com<http://www.lasernetbyformpipe.com/>

Formpipe.
__________________________________________________________________________________________________

[Lasernet_email]<http://lasernetbyformpipe.com/>
____________________________________________________________________________________________________________
Formpipe develops ECM products and solutions for structuring information and 
supplies them to major companies, authorities and organisations.
ECM products help organisations to capture, manage and distribute information, 
and to place it in context. The company's software helps improve
efficiency, cut costs and reduce risk exposure. Formpipe was founded in 2004 
and has offices in Sweden, Denmark, United Kingdom, GermanyT
he Netherlands and USA. The Formpipe share is listed on NASDAQ Stockholm.


Attachment: indirect-filter-reference.patch
Description: indirect-filter-reference.patch

_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to