mirror of https://github.com/OISF/suricata
rust/ftp: validate port components in passive reponse
Make sure they are valid 8 bit integers before combining the two parts into a u16 to prevent an overflow of the u16 return value. Add unit tests to check parsing of invalid ports. Redmine issue: https://redmine.openinfosecfoundation.org/issues/2904pull/3824/head
parent
275e8f280d
commit
9d75fdc6ea
Loading…
Reference in New Issue