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
Jeff Lucovsky 2054e9bfcf ftp: free the response code as a boxed slice
parse_response_line allocates the code buffer with Box::into_raw on a
boxed slice, but SCFTPFreeResponseLine released it by rebuilding a
Vec<u8> with capacity code_length. Vec::from_raw_parts accepts any
global-allocator pointer whose size and alignment match, and both paths
compute the same layout for a byte slice, so the old free was sound. It
differed only from how the response buffer is released.

Release the code buffer through Box::from_raw on a slice pointer, so
both buffers are freed the same way they were allocated.

Ticket: 8803
1 week ago
..
.cargo rust: rename .cargo/config to .cargo/config.toml 2 years ago
derive doc: string enum derive has a function listing the enum values 3 weeks ago
ffi rust/ffi: add flow accessors to flow wrapper 2 months ago
htp http1: keep monotonic progress for 100-continue 4 weeks ago
src ftp: free the response code as a boxed slice 1 week ago
suricatactl rust: limit clap verson to 4.5.57 7 months ago
suricatasc rust: clippy fixups for 1.97 4 months ago
sys detect: allow banning kw from td in firewall mode 3 weeks ago
.gitignore rust: rename .cargo/config to .cargo/config.toml 2 years ago
Cargo.lock.in rust: add zstd dependency 1 month ago
Cargo.toml.in rust: add zstd dependency 1 month ago
Makefile.am rust: fail check-bindgen-bindings if bindgen fails 3 weeks ago
cbindgen.toml http2: split transaction state machines 4 months ago
rustfmt.toml rustfmt: replace deprecated fn_args_layout with fn_params_layout 3 years ago