From a616091553179a44479359859acd80dec0510e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Tue, 30 Jan 2024 13:06:26 +0100 Subject: [PATCH] Fix data in bad_gif_oom regression test With the new gif crate version, it gave a different error as was. --- tests/regression.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.