mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-29 04:28:20 -06:00
The end-of-data look-ahead rejected a valid EI candidate when any byte above 0x7F lay between it and the next EI. Those bytes are the content stream that follows the image, and content streams carry such bytes inside strings, so no candidate qualified and the image data ran to the end of the stream. The operator check that follows now decides alone, bounded as before by MAX_EI_CANDIDATES. Fixes #2456