diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2020-11-30 12:26:12 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2020-12-08 11:22:01 +1300 |
commit | bdd3acbd48a575d418ba6bf1b32d7bda2fae1c81 (patch) | |
tree | 4fb0bf828c10019e2e489d28d8895b17eb187bb4 /tests/test-images/fail | |
parent | 3c6779c37482d8c322446629a5407d7bd912b23d (diff) | |
download | gdk-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/test-images/fail')
-rw-r--r-- | tests/test-images/fail/hang_114.gif | bin | 0 -> 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 Binary files differnew file mode 100644 index 000000000..4d7d252cb --- /dev/null +++ b/tests/test-images/fail/hang_114.gif |