From 7617fe5ab074e14fc5eba2c09dc211609e06c75f Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Sat, 20 Jul 2024 14:44:45 +0200 Subject: [PATCH] ldap: reset tx_index_completed on tx removal So, that this index does not overflow --- rust/src/ldap/ldap.rs | 1 + 1 file changed, 1 insertion(+) 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); } }