Bug 97159

Summary: XRef::createDocInfoIfNoneExists() shouldn't presume that DocInfo is a dictionary
Product: poppler Reporter: Jakub Alba <jakubalba>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: jakubalba
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: [PATCH] XRef::createDocInfoIfNoneExists(): don't presume that DocInfo is a dictionary

Description Jakub Alba 2016-07-31 23:52:50 UTC
If there is a PDF document which doesn't comply with the PDF reference and its DocInfo object is not a dictionary, then XRef::createDocInfoIfNoneExists() will fail. And apparently (as Bug 97134 shows) there are such documents.
Comment 1 Jakub Alba 2016-07-31 23:53:15 UTC
Created attachment 125452 [details] [review]
[PATCH] XRef::createDocInfoIfNoneExists(): don't presume that DocInfo is a dictionary
Comment 2 Albert Astals Cid 2016-08-01 21:05:59 UTC
Pushed

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.