]> git.ipfire.org Git - thirdparty/suricata.git/commit
yaml: Add check of allocation for node object
authorAlexey Simakov <bigalex934@gmail.com>
Mon, 23 Sep 2024 18:24:48 +0000 (21:24 +0300)
committerVictor Julien <victor@inliniac.net>
Wed, 2 Oct 2024 08:28:24 +0000 (10:28 +0200)
commitc72404e5546635a6239bdd7302fe945f47ce1927
tree8840ed8ce349ab4fec64c46e4e4cf2b661347b08
parent592d860434b3b50d1ab954274a7bd21137a0c676
yaml: Add check of allocation for node object

Fix potential dereference of nullptr in case
of unsuccessful allocation of memory for
list node

Bug: #7270
src/conf-yaml-loader.c