mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-03 06:51:50 -06:00
A region's location, a refinement's offset, a symbol's corner, a Huffman range line and a decoded integer of 2^31 could each overflow: a panic wherever overflow is checked. The last four wrap, as a release build did. Bitmap::combine saturates, which comes to the same: a side is at most 65,535, so a location that overflows is past the end of any page. What is drawn doesn't change. Patch (12), after the numbers #5491 and #5569 take. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmsdeUCdTaD72jkDw2pJKY