Files
faunosteo/tests/unit
Bastien Chanot c48406788a fix(pdf): cap inflated attachment size on import
SEC-8 (user-approved change to the protected import path): the flate
fallback materialized the whole decompressed stream unbounded — a
crafted PDF with a deflate bomb could freeze the tab. Stream is now
read chunk-wise and cancelled past 16 MB (valid report JSON is orders
of magnitude smaller); bomb → null → import fails with the generic
error. TDD: real CompressionStream bomb fixture, 180/180 green.
2026-07-12 16:27:40 +02:00
..