]> git.ipfire.org Git - thirdparty/suricata.git/commit
smtp: check if we have a current transaction
authorPhilippe Antoine <contact@catenacyber.fr>
Tue, 25 Jan 2022 20:10:37 +0000 (21:10 +0100)
committerVictor Julien <vjulien@oisf.net>
Tue, 1 Feb 2022 06:17:38 +0000 (07:17 +0100)
commit4247605d874113ef13003816007e0575219d065e
tree2c07f35038c950128623f52f483226d2e18c4e7a
parent11d3af551bf64c0a85d2c69e2416a7712d5b3cbb
smtp: check if we have a current transaction

Ticket: 4948

This is not the perfect solution, but it prevents to trigger
the assert, and keep the assert.
A better solution would need to create transaction from
the reponse parsing, in case a later command was buffered and
not answered. But this would not be enough as NoNewTx prevents
the creation of a new transaction for RSET...
src/app-layer-smtp.c