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

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

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

PDFBOX-6351: add more tests

> 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
>          Components: Parsing
>    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