mirror of https://github.com/OISF/suricata
commandline parsing: check optarg ptr before using it
Fixes: ** CID 1075221: Dereference after null check (FORWARD_NULL) /src/suricata.c: 1344 in ParseCommandLine() The reason it gave this warning is that in other paths using optarg there was a check, so the checker assumed optarg can be NULL.pull/853/head
parent
9f2ce16ef3
commit
9442dce451
Loading…
Reference in New Issue