All,

  Again, my apologies for post-useful/late results!  Ugh...  

  Thank you, Andreas and Tilman!

  Let me know when we're ready for another round.

          Cheers,

                   Tim
-----Original Message-----
From: Andreas Lehmkühler (JIRA) [mailto:[email protected]] 
Sent: Tuesday, October 3, 2017 8:23 AM
To: [email protected]
Subject: [jira] [Resolved] (PDFBOX-3949) NPE in bfSearchForObjStreams


     [ 
https://issues.apache.org/jira/browse/PDFBOX-3949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler resolved PDFBOX-3949.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
                   2.0.8

I've optimized the brute force search for object streams.

Thanks [[email protected]] and [~tilman] for the finding

> NPE in bfSearchForObjStreams
> ----------------------------
>
>                 Key: PDFBOX-3949
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3949
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.8
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>              Labels: regression
>             Fix For: 2.0.8, 3.0.0
>
>         Attachments: MKFYUGZWS3OPXLLVU2Z4LWCTVA5WNOGF.pdf
>
>
> {code}
> java.lang.NullPointerException: null
>     
> org.apache.pdfbox.pdfparser.COSParser.bfSearchForObjStreams(COSParser.java:1738)
>     
> org.apache.pdfbox.pdfparser.COSParser.bfSearchForObjects(COSParser.java:1529)
>     
> org.apache.pdfbox.pdfparser.COSParser.getBFCOSObjectOffsets(COSParser.java:1445)
>     
> org.apache.pdfbox.pdfparser.COSParser.rebuildTrailer(COSParser.java:19
> 05)
> {code}
> This worked in 2.0.7. The exception happens in 39 files.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional 
commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to