[ 
https://issues.apache.org/jira/browse/PDFBOX-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17296878#comment-17296878
 ] 

ASF subversion and git services commented on PDFBOX-5112:
---------------------------------------------------------

Commit 1887295 from le...@apache.org in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1887295 ]

PDFBOX-5112: SonarCube fix, throw NoSuchElementException if no more elements 
are available

> Add more checks to PDFXrefStreamParser and reduce memory footprint
> ------------------------------------------------------------------
>
>                 Key: PDFBOX-5112
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5112
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Parsing
>    Affects Versions: 2.0.22, 3.0.0 PDFBox
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>             Fix For: 2.0.23, 3.0.0 PDFBox
>
>
> PDFBOX-5108 already added a check of the dictionary values of a compressed 
> cross reference stream, but there are some more values which should be 
> checked before parsing the stream. There is some room for reducing the memory 
> footprint as well. PDFBox should calculate the object numbers during parsing 
> the stream instead of creating a whole list of them before parsing the stream.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to