]> git.ipfire.org Git - thirdparty/suricata.git/commit
protocol: forbids concurrent protocol upgrades
authorPhilippe Antoine <contact@catenacyber.fr>
Fri, 8 Apr 2022 12:40:02 +0000 (14:40 +0200)
committerVictor Julien <vjulien@oisf.net>
Tue, 19 Apr 2022 21:56:01 +0000 (23:56 +0200)
commitcedffdf14cf1fdd4d551f16c331e5b3e7f0a6927
tree39fa1264fe24baf8ec6c5db01dd9c7d5be33565b
parent0623ada24df1da99c72bb8cd4959b2cb0e64ccc2
protocol: forbids concurrent protocol upgrades

Ticket: 5243

When switching from SMTP to TLS, and getting HTTP1 instead of
expected TLS, and HTTP1 requesting upgrade to HTTP2, we do not
overwrite the alproto_orig value so as not to have type confusion
in AppLayerParserStateProtoCleanup
src/app-layer-detect-proto.c