diff --git a/Cargo.toml b/Cargo.toml index a3b80af7a9..18af9b337c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ include = [ bytemuck = { version = "1.7.0", features = ["extern_crate_alloc"] } # includes cast_vec byteorder = "1.3.2" num-traits = "0.2.0" -gif = { version = "0.12", optional = true } +gif = { version = "0.13", optional = true } jpeg = { package = "jpeg-decoder", version = "0.3.0", default-features = false, optional = true } png = { version = "0.17.6", optional = true } tiff = { version = "0.9.0", optional = true } diff --git a/tests/regression.rs b/tests/regression.rs index 927447d7a2..32cbdb6e73 100644 --- a/tests/regression.rs +++ b/tests/regression.rs @@ -64,7 +64,7 @@ fn bad_bmps() { fn bad_gif_oom() { let data = [ 71, 73, 70, 56, 55, 97, 0, 0, 0, 0, 0, 0, 0, 44, 255, 255, 219, 255, 172, 199, 199, 255, - 216, 255, 255, 0, 0, 48, 230, 0, 195, 195, 195, 195, 255, 239, 0, + 216, 255, 255, 0, 0, 48, 230, 2, 195, 195, 195, 195, 255, 239, 0, ]; // The original code made a vec![0; very_large_number] which due to overcommit *does not* OOM.