mirror of https://github.com/OISF/suricata
conf: fix potential use-after-free on error
Coverity 1139544 If strdup would fail, 'node' was freed but it wasn't set to NULL. The code then returned node. The caller would not detect there was an error and use the freed pointer.pull/730/head
parent
3714925d2b
commit
b955ca7b86
Loading…
Reference in New Issue