]> git.ipfire.org Git - thirdparty/suricata.git/commit
smtp: check if we have a current transaction 7193/head
authorPhilippe Antoine <contact@catenacyber.fr>
Tue, 25 Jan 2022 20:10:37 +0000 (21:10 +0100)
committerVictor Julien <vjulien@oisf.net>
Wed, 30 Mar 2022 13:56:04 +0000 (15:56 +0200)
commit5af5b125ee0a8a43ab8c510e4d7fc7054d77f133
treec7a7a91af7a6c297a5f9e5a9bed421b1b190c10b
parentce69f79f6ab24c9cbb7643b2d0ab0b98a36d1c90
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...

(cherry picked from commit 4247605d874113ef13003816007e0575219d065e)
src/app-layer-smtp.c