]> 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>
Thu, 17 Oct 2024 10:38:58 +0000 (12:38 +0200)
commit91ae28e3d357a6d206a2f6868a2b60140130d735
tree4a7a6cf6fe61d100deb929928cad6e520951b6c5
parente5c4dc39444455b58efafa18289f826149fc18c6
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
(cherry picked from commit c72404e5546635a6239bdd7302fe945f47ce1927)
src/conf-yaml-loader.c