mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
If there is more data than a header, but not enough for a complete DNS
message, the hostname parser could return an error causing the probe to
fail on valid DNS messages.
So only parse the complete message if we have enough input data. This is
reliable for TCP as DNS messages are prefixed, but for UDP its just
going to be the size of the input buffer presented to the parser, so
incomplete could still happen.
Ticket #5034
(cherry picked from commit
|
4 years ago | |
|---|---|---|
| .. | ||
| .cargo | 6 years ago | |
| src | 4 years ago | |
| .gitignore | 9 years ago | |
| Cargo.toml.in | 5 years ago | |
| Makefile.am | 5 years ago | |
| cbindgen.toml | 6 years ago | |
| rustfmt.toml | 6 years ago | |