mirror of https://github.com/OISF/suricata
enip: make sure to have enough data for parser
ENIP parser makes use of nom's complete macros which by design expect full data to be passed along to them. In case there is incomplete data sent to them, they result in an error. This disables the ENIP parser and further detection and could happen with an incomplete/fragmented request/response. Use AppLayerResult API to ask for more data from the stream engine in case the stream slice currently at hand does not match the length parameters received from the header or is not long enough to parse the header itself. Ticket: 8809pull/16213/head
parent
dca5cb3ab4
commit
88d3af4c2e
Loading…
Reference in New Issue