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

Tilman Hausherr resolved PDFBOX-4756.
-------------------------------------
      Assignee: Tilman Hausherr
    Resolution: Fixed

Thanks [~pslabycz] . I commited your patch and added two asserts in the test 
because I noticed that the positions were also wrong before the patch.

> ScratchFileBuffer seek beyond the last page
> -------------------------------------------
>
>                 Key: PDFBOX-4756
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4756
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.18
>            Reporter: Petr Slaby
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.19, 3.0.0 PDFBox
>
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to