Files
Jungfraujoch/reader
leonarski_fandClaude Opus 5 aecbcf3aaf Clamp the marCCD header probe to the size of the file
The header offset comes from TIFF tag 34710 unchecked and is handed to
ReadPrefix, which allocates that many bytes before reading. This runs
during format autodetection, on files nobody has said are marCCD, so a
foreign or corrupt TIFF could have the program allocate ~4 GB for a
probe. The probe now reads at most what the file holds; a short read was
always the normal outcome and the caller already checks the size.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013nW6FNRP1bBJJ8pfHiByAT
2026-09-20 19:01:33 +02:00
..
2026-09-02 21:17:31 +02:00
2026-09-02 21:17:31 +02:00
2026-09-02 21:17:31 +02:00
2026-09-02 21:17:31 +02:00
2026-09-02 21:17:31 +02:00
2026-09-10 13:51:16 +02:00
2026-09-16 18:17:46 +02:00
2026-09-10 13:51:16 +02:00
2026-09-10 13:51:16 +02:00
2025-05-12 14:17:24 +02:00
2026-09-15 17:09:31 +02:00
2026-09-09 07:25:13 +02:00
2026-09-10 13:51:16 +02:00
2026-06-02 11:49:24 +02:00
2026-09-17 14:42:52 +02:00
2026-09-17 14:42:52 +02:00
2026-09-15 17:09:31 +02:00
2026-09-17 14:42:52 +02:00