[
https://issues.apache.org/jira/browse/PDFBOX-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-6373.
-------------------------------------
Resolution: Fixed
> RandomAccessReadBuffer.read adds a -1 sentinel to its byte count
> ----------------------------------------------------------------
>
> Key: PDFBOX-6373
> URL: https://issues.apache.org/jira/browse/PDFBOX-6373
> Project: PDFBox
> Issue Type: Sub-task
> Components: IO
> Affects Versions: 3.0.8 PDFBox
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 3.0.9 PDFBox, 4.0.0
>
>
> The error doesn't actually occur, but the code looks like it could.
> The GO port fixed the bug although it admits that it doesn't occur.
> The same code exists in 2.0 but there readRemainingBytes() never returns -1.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]