Files
effectcraft/crates/media
vangel76 ba2cb5f759 OpenEXR limit: one decompressed block stays at 8 GiB whatever memory a read may use (#3749 review)
The read's limit (the floor or the memory budget) bounds the planes it
allocates; one block the decompressor allocates whole is capped apart, at
the fixed floor (8 GiB, 512 MiB in the browser), with craft-exr's
max_block_bytes. A larger block is a damaged or hostile header, refused
for its size before anything is read. That refusal doesn't depend on the
limit, so remembering it for requests asking at least as much stays
right; after a limit change it is only decided once more.
2026-11-16 23:38:19 +01:00
..