Fix potential trample in trie re-using leaf

This commit is contained in:
baldurk
2025-07-10 17:52:30 +01:00
parent 095556663d
commit 279379c3be
2 changed files with 17 additions and 5 deletions
+2
View File
@@ -2593,6 +2593,8 @@ TEST_CASE("Test rdcbytetrie type", "[basictypes][rdcbytetrie]")
{{2, 1, 1}, TrieValue(5)},
//
{{2, 1, 6}, TrieValue(6)},
//
{{2, 1, 6, 9, 9}, TrieValue(7)},
};
bytebuf d = {1, 3};