You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/02 07:12:00 UTC

[jira] [Commented] (PDFBOX-5112) Add more checks to PDFXrefStreamParser and reduce memory footprint

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

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

Commit 1887078 from lehmi@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1887078 ]

PDFBOX-5112: added another check for the W and the Index array, reduce memory footprint

> 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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org