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

Tilman Hausherr resolved PDFBOX-6349.
-------------------------------------
    Resolution: Fixed

> COSInteger 0 equals to 0x100000000
> ----------------------------------
>
>                 Key: PDFBOX-6349
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6349
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.37, 3.0.8 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.38, 3.0.9 PDFBox, 4.0.0
>
>
> {{COSInteger.equals}} compares {{intValue()}}, which is (int) value, so it 
> drops everything above bit 31: Java says {{COSInteger.get(0)}} and 
> {{COSInteger.get(4294967296)}} are equal.



--
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