]> git.ipfire.org Git - thirdparty/suricata.git/commit
defrag: fix off by one
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 15 Jul 2024 07:52:00 +0000 (09:52 +0200)
committerVictor Julien <vjulien@oisf.net>
Fri, 27 Sep 2024 08:34:21 +0000 (10:34 +0200)
commitc9649bb920c440aa07518787e339195496a3e343
tree4521d34439430bd8e4a7a82307e5d972599afe1d
parentb5eb0c9101ad92afb8bfb09aa74168fbf365eef9
defrag: fix off by one

Ticket: 7067

This off by one could lead to an empty fragment being inserted
in the rb tree, which led to integer underflow

(cherry picked from commit 9203656496c4081260817cce018a0d8fd57869b5)
src/defrag.c