summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2020-11-30 12:26:12 +1300
committerRobert Ancell <robert.ancell@canonical.com>2020-12-08 11:22:01 +1300
commitbdd3acbd48a575d418ba6bf1b32d7bda2fae1c81 (patch)
tree4fb0bf828c10019e2e489d28d8895b17eb187bb4 /tests
parent3c6779c37482d8c322446629a5407d7bd912b23d (diff)
downloadgdk-pixbuf-bdd3acbd48a575d418ba6bf1b32d7bda2fae1c81.tar.gz
gif: Fix LZW decoder accepting invalid LZW code.
The code value after a reset wasn't being validated, which means we would accept invalid codes. This could cause an infinite loop in the decoder. Fixes CVE-2020-29385 Fixes https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164
Diffstat (limited to 'tests')
-rw-r--r--tests/test-images/fail/hang_114.gifbin0 -> 5561 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/test-images/fail/hang_114.gif b/tests/test-images/fail/hang_114.gif
new file mode 100644
index 000000000..4d7d252cb
--- /dev/null
+++ b/tests/test-images/fail/hang_114.gif
Binary files differ