Tilman Hausherr created PDFBOX-6349:
---------------------------------------
Summary: COSInteger 0 equals to 0x100000000
Key: PDFBOX-6349
URL: https://issues.apache.org/jira/browse/PDFBOX-6349
Project: PDFBox
Issue Type: Bug
Affects Versions: 3.0.8 PDFBox, 2.0.37
Reporter: Tilman Hausherr
Assignee: Tilman Hausherr
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]