You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Petr Slaby (Jira)" <ji...@apache.org> on 2020/01/30 14:52:00 UTC

[jira] [Created] (PDFBOX-4756) ScratchFileBuffer seek beyond the last page

Petr Slaby created PDFBOX-4756:
----------------------------------

             Summary: ScratchFileBuffer seek beyond the last page
                 Key: PDFBOX-4756
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4756
             Project: PDFBox
          Issue Type: Bug
            Reporter: Petr Slaby
         Attachments: ScratchFileBuffer.java.patch, ScratchFileBufferRegressionTest.java

When rendering a confidential PDF, we get a java.io.EOFException in ScratchFileBuffer.seek(). The problem is demonstrated in the attached test and fixed by the attached patch.



--
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