]> git.ipfire.org Git - thirdparty/suricata.git/commit
stream: fix stream pruning being too aggressive 6781/head
authorVictor Julien <vjulien@oisf.net>
Thu, 13 Jan 2022 11:13:43 +0000 (12:13 +0100)
committerVictor Julien <vjulien@oisf.net>
Thu, 13 Jan 2022 11:18:27 +0000 (12:18 +0100)
commit78f5e082f5188204606ab9ceb5044447e49aaca2
tree02ca445a9fbe4d074eab8ba1d026a41857ad7823
parent544ff0fb52cad0ee35dfd968bd775703737c4ef6
stream: fix stream pruning being too aggressive

Pruning of StreamBufferBlocks could remove blocks that fell entirely
after the target offset due to a logic error. This could lead to data
being evicted that was still meant to be processed in theapp-layer
parsers.

Bug: #4953.
src/util-streaming-buffer.c