Files
pdf.js/test/unit
Davide Briano 2c76002003 Support XRef stream offsets larger than 2 GiB
XRef stream entries were decoded with bitwise operators, which only work on 32-bit integers. Offsets of 2 GiB or more came out negative, or wrapped around past 4 GiB, so large PDFs using XRef streams failed to load. Use plain arithmetic instead, and add a unit test.
2026-10-19 02:55:03 +02:00
..