From b7a5908e1b83bde6b60568f6a67952890ab925a9 Mon Sep 17 00:00:00 2001 From: user Date: Mon, 16 Dec 2024 15:23:09 +0100 Subject: [PATCH] fix(deflate): update fuzzing to work again --- fuzz/Cargo.toml | 4 +--- fuzz/seeds/inflate_nonwrapping/empty_comp | Bin 0 -> 15 bytes .../inflate_nonwrapping/issue_130_table_size.bin | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 fuzz/seeds/inflate_nonwrapping/empty_comp create mode 100644 fuzz/seeds/inflate_nonwrapping/issue_130_table_size.bin diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index ade0dcb6..1fc5700c 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -9,14 +9,12 @@ publish = false cargo-fuzz = true [dependencies] -libc="0.2.22" +libfuzzer-sys="0.4.0" [dependencies.miniz_oxide_c_api] path = ".." [dependencies.miniz_oxide] path = "../miniz_oxide" -[dependencies.libfuzzer-sys] -git = "https://github.com/rust-fuzz/libfuzzer-sys.git" # Prevent this from interfering with workspaces [workspace] diff --git a/fuzz/seeds/inflate_nonwrapping/empty_comp b/fuzz/seeds/inflate_nonwrapping/empty_comp new file mode 100644 index 0000000000000000000000000000000000000000..01e9e398f6598e670d634084415e3b31f3a1cdb3 GIT binary patch literal 15 TcmZQQ(8$361Pb-9nSm4l8bkuz literal 0 HcmV?d00001 diff --git a/fuzz/seeds/inflate_nonwrapping/issue_130_table_size.bin b/fuzz/seeds/inflate_nonwrapping/issue_130_table_size.bin new file mode 100644 index 00000000..2e80c50b --- /dev/null +++ b/fuzz/seeds/inflate_nonwrapping/issue_130_table_size.bin @@ -0,0 +1,2 @@ +xύΰ$I’$I‹ͺ™»GDDfffVUUUUwwwwwχΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜΜtwwwwWWUUUUffFFD„»›™ +ΟLfWwuwwOΟΜΜΜΜLΰΐ‡ψG=ψ“>κc?όύς ^ \ No newline at end of file