Hello, I am using poppler version 0.16.0. Below is a part of code I am trying to run. // -------------------------------------- PDFDoc pdf_doc_obj; XRef* xref = pdf_doc_obj.getXRef(); Object xref_catalog; xref -> getCatalog( &xref_catalog ); Dict* catalog_dictionary = xref_catalog.getDict(); catalog_dictionary -> lookup( "OpenAction", &obj ); // -------------------------------------- poppler fails to find "OpenAction" object. I tried the same on version 0.12.4. It was found OK. Please advise. Thanks Test file is attached. NOTE!!! The attached test file is MALICIOUS!!! Attached file is a password protected archive.
Created attachment 42721 [details] NOTE!!! Test file is MALICIOUS! The files was archived with 7z.
Not a bug, the XRef points for the object 5 to be at offset 316 and when we go there, we don't find object 5 but object 6 thus we don't return anything.
Poppler version 0.12.4 is able to extract the object. Is there a bug in v. 0.12.4?
Don't know, maybe it was less scrict with that things, but given that this is a file broken on purpose doesn't worry me at all.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.