mirror of https://github.com/OISF/suricata
smtp: Prevent error messages on packet path
Issue: 7126
This commit abandons the use of StringParseUint32 which generates an
error message of there are non-numeric characters.
The SMTP parser had used this function on the packet path; this commit
uses strtoul instead.
An example of the content causing the error message to be emitted:
3460 LAST
pull/11809/head
parent
2b1ad81cf5
commit
a115acf208
Loading…
Reference in New Issue