From 0eface99b77edbfabaebcfd9496ac5c86e3b8cbb Mon Sep 17 00:00:00 2001 From: Jeff Muizelaar Date: Mon, 2 Nov 2009 13:15:09 -0500 Subject: [PATCH] Add some tests that exercise bug 525326. r=joe --- modules/libpr0n/test/crashtests/crashtests.list | 6 ++++++ .../test/crashtests/invalid-size-second-frame.gif | Bin 0 -> 673 bytes modules/libpr0n/test/crashtests/invalid-size.gif | Bin 0 -> 329 bytes 3 files changed, 6 insertions(+) create mode 100644 modules/libpr0n/test/crashtests/invalid-size-second-frame.gif create mode 100644 modules/libpr0n/test/crashtests/invalid-size.gif diff --git a/modules/libpr0n/test/crashtests/crashtests.list b/modules/libpr0n/test/crashtests/crashtests.list index edefa8b1b7d7..0924f0384a18 100644 --- a/modules/libpr0n/test/crashtests/crashtests.list +++ b/modules/libpr0n/test/crashtests/crashtests.list @@ -1,2 +1,8 @@ load 83804-1.gif load 89341-1.gif + +# the following tests were inspired by bug 525326 +# they have image sizes of 65535x65535 which is larger than we allow +load invalid-size.gif +# this image has a valid size for the first frame, but the second frame is 65535x65535 +load invalid-size-second-frame.gif diff --git a/modules/libpr0n/test/crashtests/invalid-size-second-frame.gif b/modules/libpr0n/test/crashtests/invalid-size-second-frame.gif new file mode 100644 index 0000000000000000000000000000000000000000..22005ae4ca4626db73868f4b4cb4b3753d41cce4 GIT binary patch literal 673 zcmZXQy-EZz6ot>kK?W2yrJZiKg*alRSU4i9*enZcFFwi6OIcaWqwFKBorpj2+?(9Q z(ZKxV%e`Ncb9aAxe(~ht@d^YyzXVLf-eUf+y18D?&rVKvDge{>x?b{o%!j2OXacHQ zX8k&Re|@}7$-Q}9zSSA8?BUR7#Fiz;FmE{3NhMfF%bBcdLQGkYvfcEMp^cDERYe4Y`Bo)neV$nGdL;4Kc+<5Dhm TFA58pCDAXGL`EoTB)rQX2F>b{ literal 0 HcmV?d00001 diff --git a/modules/libpr0n/test/crashtests/invalid-size.gif b/modules/libpr0n/test/crashtests/invalid-size.gif new file mode 100644 index 0000000000000000000000000000000000000000..665ca9b5dce713e3e9de6691a7019f1fd01deb65 GIT binary patch literal 329 zcmZ?wbhEHb6krfw_`tyMpJD6n{|q_|K=2<37&!hjFoHPL08G>{1Y`yawG84QY>)