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.
The DNS name parser will error out with an error even if the error is incomplete. Instead of manually generating errors, use '?' to let the nom error ripple up the error handling chain. The reason this wasn't done in the first place is this code predates the ? operator, or we were not aware of it at the time. This prevents the case where probing fails when there is enough data to parse the header, but not enough to complete name parser. In such a case a parse error is returned (instead of incomplete) resulting in the payload not being detected as DNS. Ticket #5034 |
3 years ago | |
---|---|---|
.. | ||
.cargo | ||
derive | ||
src | 3 years ago | |
.gitignore | ||
Cargo.toml.in | 3 years ago | |
Makefile.am | ||
cbindgen.toml | ||
rustfmt.toml |