]> git.ipfire.org Git - people/ms/suricata.git/commit
protodetect: opposing side cannot change protocol
authorPhilippe Antoine <contact@catenacyber.fr>
Fri, 16 Jul 2021 12:22:28 +0000 (14:22 +0200)
committerVictor Julien <vjulien@oisf.net>
Fri, 12 Nov 2021 14:21:07 +0000 (15:21 +0100)
commitbe617a3c1b25a7a4b1acdc7b65d3733d4f48a1f9
treebbcbfee3cf0191ac971773dfe425f9cebdd84d86
parentf44bbbb9ada39893279965a98831620074205871
protodetect: opposing side cannot change protocol

Ticket: #4562

As the data which triggered the opposing side
was the same protocol and not another one,
that means the protocol change failed.

Prevents a memory leak in later call of AppLayerParserParse
which would allocate a new state and leak the old one
src/app-layer.c