From: Philippe Antoine Date: Tue, 3 Jun 2025 18:33:52 +0000 (+0200) Subject: rust: update brotli crate to latest version X-Git-Tag: suricata-8.0.0-rc1~187 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=97591230a9de763084a166783a0dc6d89792a02d;p=thirdparty%2Fsuricata.git rust: update brotli crate to latest version Ticket: 7735 New version has a fix for an integer underflow --- diff --git a/rust/Cargo.lock.in b/rust/Cargo.lock.in index 34b29fc361..7e161b6465 100644 --- a/rust/Cargo.lock.in +++ b/rust/Cargo.lock.in @@ -156,9 +156,9 @@ dependencies = [ [[package]] name = "brotli" -version = "3.4.0" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "516074a47ef4bce09577a3b379392300159ce5b1ba2e501ff1c819950066100f" +checksum = "9991eea70ea4f293524138648e41ee89b0b2b12ddef3b255effa43c8056e0e0d" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -167,9 +167,9 @@ dependencies = [ [[package]] name = "brotli-decompressor" -version = "2.5.1" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e2e4afe60d7dd600fdd3de8d0f08c2b7ec039712e3b6137ff98b7004e82de4f" +checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in index 8f03786ea8..de7191cfb2 100644 --- a/rust/Cargo.toml.in +++ b/rust/Cargo.toml.in @@ -49,7 +49,7 @@ num-derive = "~0.4.2" num-traits = "~0.2.14" widestring = "~0.4.3" flate2 = { version = "~1.0.19", features = ["zlib"] } -brotli = "~3.4.0" +brotli = "~8.0.1" hkdf = "~0.12.3" aes = "~0.7.5" aes-gcm = "~0.9.4" diff --git a/rust/htp/Cargo.toml b/rust/htp/Cargo.toml index 46b4c77784..4d3b4cdf1a 100644 --- a/rust/htp/Cargo.toml +++ b/rust/htp/Cargo.toml @@ -27,7 +27,7 @@ libc = "0.2" nom = "7.1.1" lzma-rs = { version = "0.2.0", features = ["stream"] } flate2 = { version = "~1.0.35", features = ["zlib-default"], default-features = false } -brotli = "~3.4.0" +brotli = "~8.0.1" lazy_static = "1.4.0" time = "=0.3.36"