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.
parse_t123_tpkt runs the X.224 and X.223/MCS sub-parsers over the length-bounded tpkt payload, but they use streaming nom parsers. An inner length field overrunning the payload, such as an oversized CS_CORE block, escaped as Err::Incomplete although the tpkt was fully present. This patch wraps the child parsers in complete() so Incomplete from within the bounded payload becomes an Error. The tpkt is then returned as an unrecognized Raw child, which the caller skips, and parsing resumes at the next tpkt. Ticket #8838 |
2 months ago | |
|---|---|---|
| .. | ||
| .cargo | ||
| derive | 6 months ago | |
| ffi | 2 months ago | |
| htp | 2 months ago | |
| src | 2 months ago | |
| suricatactl | 7 months ago | |
| suricatasc | 4 months ago | |
| sys | 2 months ago | |
| .gitignore | ||
| Cargo.lock.in | 2 months ago | |
| Cargo.toml.in | 2 months ago | |
| Makefile.am | 2 months ago | |
| cbindgen.toml | 4 months ago | |
| rustfmt.toml | ||