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-7.0.11~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b027350efc78d6ae7af1bf926115176ca6323257;p=thirdparty%2Fsuricata.git rust: update brotli crate to latest version Ticket: 7735 New version has a fix for an integer underflow (cherry picked from commit 97591230a9de763084a166783a0dc6d89792a02d) --- diff --git a/rust/Cargo.lock.in b/rust/Cargo.lock.in index 0bdd45aefb..fbf17d164b 100644 --- a/rust/Cargo.lock.in +++ b/rust/Cargo.lock.in @@ -144,9 +144,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", @@ -155,9 +155,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 b0543c7f43..7696a1fa76 100644 --- a/rust/Cargo.toml.in +++ b/rust/Cargo.toml.in @@ -37,7 +37,7 @@ num-derive = "~0.4.2" num-traits = "~0.2.14" widestring = "~0.4.3" flate2 = "~1.0.19" -brotli = "~3.4.0" +brotli = "~8.0.1" hkdf = "~0.12.3" aes = "~0.7.5" aes-gcm = "~0.9.4"