Files
suricata/rust
Giuseppe Longo d80d7f75a8 swf: grow lzma output in one decoder pass
The on-demand buffer growth introduced for SWF decompression called
lzma_decompress again from byte zero each time the output buffer filled.
Because lzma-rs can buffer up to a dictionary before writing, a single
SWF could be decoded repeatedly as the buffer grew, amplifying CPU use.

This adds a depth-bounded Rust writer that asks C to grow the inspection
buffer as decompressed bytes are emitted.
This keeps a single lzma-rs stream alive, so the input is decoded only once.

Ticket: #8829
2026-09-11 07:56:28 +02:00
..
2026-09-09 14:23:33 +02:00
2026-07-10 11:58:08 +02:00
2026-08-19 17:23:02 +00:00
2026-09-04 21:20:25 +00:00