]> git.ipfire.org Git - thirdparty/suricata.git/commit
conf: null guard in ConfNodeLookupChild
authorJason Ish <ish@unx.ca>
Thu, 21 Jan 2016 04:41:22 +0000 (22:41 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 28 Jan 2016 10:30:27 +0000 (11:30 +0100)
commit4352dd179ccdc7b845ae4498d2aa6d41d8fc5455
treee09c84817938153851fec8d1008d4bde47951a37
parent2aa971240be3727a64ada18cda1bf422e6bf6c44
conf: null guard in ConfNodeLookupChild

Add NULL guarding to the lookup so callers can process nodes
in a loop with less error checking.

Addresses issue #1660.
src/conf.c