]> git.ipfire.org Git - people/ms/suricata.git/commit
range: better closing for out of order ranges
authorPhilippe Antoine <contact@catenacyber.fr>
Mon, 28 Feb 2022 10:21:28 +0000 (11:21 +0100)
committerVictor Julien <vjulien@oisf.net>
Wed, 2 Mar 2022 07:17:16 +0000 (08:17 +0100)
commit3fd8e908f83602ce4c025f9f14536b90bd91f599
tree4eb5ed0d9185dc8fb6d06d8ba8c74705cf68b964
parentbfcd6cb46a2163f00479620a3dc3ec48f9de4fa0
range: better closing for out of order ranges

Ticket: 5132

In case of a duplicate range, we can return early, because
there is no new data to process.

More importantly, this commit adds a check about wether the file
got closed meanwhile, so that this just completed out of order
range, even if it brings new data, is now irrelevant.
This can happen for instance if there was a gap...
src/app-layer-htp-range.c