From: Philippe Antoine Date: Sat, 20 Jul 2024 12:44:45 +0000 (+0200) Subject: ldap: reset tx_index_completed on tx removal X-Git-Tag: suricata-8.0.0-beta1~982 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7617fe5ab074e14fc5eba2c09dc211609e06c75f;p=thirdparty%2Fsuricata.git ldap: reset tx_index_completed on tx removal So, that this index does not overflow --- diff --git a/rust/src/ldap/ldap.rs b/rust/src/ldap/ldap.rs index 0817b4c9fb..4744023036 100644 --- a/rust/src/ldap/ldap.rs +++ b/rust/src/ldap/ldap.rs @@ -115,6 +115,7 @@ impl LdapState { } } if found { + self.tx_index_completed = 0; self.transactions.remove(index); } }