mirror of https://github.com/OISF/suricata
detect: Clear errno before strtoul
Per the notes for strtoul, since 0 or ULONG_MAX is a legitimate return value, errno must be cleared before the call so an error can be checked after the call by testing errno. Issue: 7126pull/11809/head
parent
a115acf208
commit
8f107c8252
Loading…
Reference in New Issue