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.
suricata/rust
Philippe Antoine ae2ebc21e0 ike: remove recursivity in functions
Ticket: 8800

Thus avoiding unbounded recursion

Before that, parse_payload could call
parse_security_association_payload which could call back
parse_payload if a type in the list was SecurityAssociation

But a Security Association only accepts the type Proposal in its
payload, see RFC 2408: section 3.5

There was another recursive path with parse_payload calling
parse_proposal_payload which called back parse_payload

And a Proposal only accepts the type Transform in its payload, see
RFC 2408: section 3.6

(cherry picked from commit b13c742a9c)
2 months ago
..
.cargo rust: rename .cargo/config to .cargo/config.toml 2 years ago
derive rust/derive: fix clippy collapsible_match warning 1 year ago
htp http1: fix gzip decompression with flags and multiple chunks 2 months ago
src ike: remove recursivity in functions 2 months ago
suricatactl rust: allow some lints in suricatactl and suricatasc 1 year ago
suricatasc rust: fix clippy warnings 2 months ago
sys app-layer: query raw protocol names 2 months ago
.gitignore rust: rename .cargo/config to .cargo/config.toml 2 years ago
Cargo.lock.in psl: update to 2.1.228 2 months ago
Cargo.toml.in misc: time unit parsing function 8 months ago
Makefile.am rust: respect RUSTC and CARGO env vars like CC 1 year ago
cbindgen.toml rust: exclude DETECT_BYTEMATH_ENDIAN_DEFAULT from bindings 5 months ago
rustfmt.toml rustfmt: replace deprecated fn_args_layout with fn_params_layout 3 years ago