]> git.ipfire.org Git - thirdparty/suricata.git/commit
util/radix-tree: fix potential dereference of nullptr
authorAlexey Simakov <bigalex934@gmail.com>
Tue, 28 May 2024 16:36:58 +0000 (19:36 +0300)
committerVictor Julien <victor@inliniac.net>
Thu, 6 Jun 2024 06:55:08 +0000 (08:55 +0200)
commit0d929a44f88e20396760542fe0154c993696d561
tree1117651e7d400e3c29642b910d4b646b065ea18d
parent3a7f083f3c31f6aeed2092279d892a10dde96fa1
util/radix-tree: fix potential dereference of nullptr

Fix potential dereferece of nullptr in case of
unsuccessful allocation of memory leak for tree nodes

Bug: #7049
(cherry picked from commit a8217d288afe91efe8d6e222fd5b1788cec6c976)
src/util-radix-tree.c