]> git.ipfire.org Git - thirdparty/suricata.git/commit
stream: fix direction flags in corner case 4691/head
authorVictor Julien <victor@inliniac.net>
Tue, 17 Mar 2020 12:08:33 +0000 (13:08 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 17 Mar 2020 21:03:23 +0000 (22:03 +0100)
commitefee458af8a711323d74045af67b1fa9b648569c
tree1318b39f9b862f1c73159d916a0c1ff531b13807
parent960045323db76123e17b853425c0839fde4899bb
stream: fix direction flags in corner case

When a TCP DNS flow would start with a GAP on the TS side, the successful
protocol detection on the TC side would trigger 'opposing side' reassembly
and app-layer processing. In this case the stream flags would indicate the
wrong direction and the wrong parser would be called.
src/stream-tcp-reassemble.c