]> git.ipfire.org Git - thirdparty/suricata.git/commit
stream: fix depth reached detection 2284/head
authorEric Leblond <eric@regit.org>
Tue, 2 Feb 2016 22:44:24 +0000 (23:44 +0100)
committerVictor Julien <victor@inliniac.net>
Sun, 25 Sep 2016 20:38:19 +0000 (22:38 +0200)
commit398489e6df179e621563ac966e47a6a376c4e3de
tree0c4b60b99bc374964e46522513fa1f2d356ab7a1
parentdc8e0b3cf2a3b8ffc20f8c40832e31219d9fd4da
stream: fix depth reached detection

When a segment only partially fit in streaming depth, the stream
depth reached flag was not set resulting in a continuous
inspection of the rest of the session.

By setting the stream depth reached flag when the segment partially
fit we avoid to reenter the code and we don't take anymore a code
path resulting in the flag not to be set.
src/stream-tcp-reassemble.c