aecbcf3aaf506f46e45fafcf594cb1c4e8ea9eff
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
Jungfraujoch
Application to receive data from the PSI JUNGFRAU and EIGER detectors.
All documentation is now placed in docs/ subdirectory and for the current version hosted on Jungfraujoch Read The Docs page.
Languages
C++
78%
HTML
6.4%
C
5.1%
TypeScript
3.6%
Cuda
2.1%
Other
4.7%