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

Tilman Hausherr updated PDFBOX-6351:
------------------------------------
    Description: "the two bytes held in {{lastByte}} and {{currentByte}} are 
written only on the next iteration. When the source runs out — an inline image 
with no closing {{{}EI{}}}, or an {{EI}} at the very end with no whitespace 
behind it, so {{hasNextSpaceOrReturn}} fails — {{isEOF()}} ends the loop and 
both are dropped."

> EOF in inline image loses 2 bytes
> ---------------------------------
>
>                 Key: PDFBOX-6351
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6351
>             Project: PDFBox
>          Issue Type: Sub-task
>    Affects Versions: 2.0.37, 3.0.8 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.38, 3.0.9 PDFBox, 4.0.0
>
>
> "the two bytes held in {{lastByte}} and {{currentByte}} are written only on 
> the next iteration. When the source runs out — an inline image with no 
> closing {{{}EI{}}}, or an {{EI}} at the very end with no whitespace behind 
> it, so {{hasNextSpaceOrReturn}} fails — {{isEOF()}} ends the loop and both 
> are dropped."



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to