diff options
author | Tobias Mueller <gnome-bugs@muelli.cryptobitch.de> | 2016-07-11 17:01:00 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-08-02 13:15:35 -0400 |
commit | b69009f2a2de151103ed87e9594615ba0fe72daf (patch) | |
tree | af311f9c8237d36b02288ddcaecc5fbc36972dca /tests/test-images | |
parent | d61be7312d8ed8ce868fdcb984178ef1eb8f0efe (diff) | |
download | gdk-pixbuf-b69009f2a2de151103ed87e9594615ba0fe72daf.tar.gz |
bmp: Fix an integer overflow in DecodeColormap
Return an error if n_colors * samples overflows.
This commit also adds a reproducer that will cause
pixbuf-randomly-modified to crash in the absence of
the patch.
https://bugzilla.gnome.org/show_bug.cgi?id=768688
Diffstat (limited to 'tests/test-images')
-rw-r--r-- | tests/test-images/randomly-modified/decodecolormap.bmp | bin | 0 -> 118 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/test-images/randomly-modified/decodecolormap.bmp b/tests/test-images/randomly-modified/decodecolormap.bmp Binary files differnew file mode 100644 index 000000000..dc537dfec --- /dev/null +++ b/tests/test-images/randomly-modified/decodecolormap.bmp |