Skip to content

Commit

Permalink
Fix data in bad_gif_oom regression test
Browse files Browse the repository at this point in the history
With the new gif crate version, it gave a different error as was.
  • Loading branch information
torokati44 authored Jan 30, 2024
1 parent 7af925b commit a616091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/regression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a616091

Please sign in to comment.