aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMaatuq <mahmoudmatook.mm@gmail.com>2024-08-23 22:51:35 +0400
committerGitHub <noreply@github.com>2024-08-23 20:51:35 +0200
commitf03938a725695a22e301497253436b9bcfd4820d (patch)
treeb0e44d5c1ce3931d8dcf74e838cfdf6a5501deb3 /tests
parent7558bcd39f2a37eea1b8e9223cf5959a725a7192 (diff)
ahocorasick: fix mem leaked AC_NODE_T object (#2258) (#2522)
Skipping node at depth = AC_PATTRN_MAX_LENGTH inside `ac_automata_walk()` caused this leak, as one of the added patterns has len = AC_PATTRN_MAX_LENGTH (not including the null char), this change avoid this. Fix: #2258 Signed-off-by: mmaatuq <mahmoudmatook.mm@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions