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 2020/02/08 19:49:00 UTC

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

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

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

Commit 1873806 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1873806 ]

PDFBOX-4756: fix bug in seek() (wrong position and EOF), by Petr Slaby

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