From 0c7250f260303061425d0d8a348d1a80fa0cc12e Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 21 Jun 2016 09:42:38 +0200 Subject: remove the huge test file, generate it on the fly instead --- ext/gd/tests/bug72339.gd | Bin 67108882 -> 0 bytes ext/gd/tests/bug72339.phpt | 24 +++++++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) delete mode 100644 ext/gd/tests/bug72339.gd diff --git a/ext/gd/tests/bug72339.gd b/ext/gd/tests/bug72339.gd deleted file mode 100644 index 0634c99005..0000000000 Binary files a/ext/gd/tests/bug72339.gd and /dev/null differ diff --git a/ext/gd/tests/bug72339.phpt b/ext/gd/tests/bug72339.phpt index 763ae71000..2c30ee8a74 100644 --- a/ext/gd/tests/bug72339.phpt +++ b/ext/gd/tests/bug72339.phpt @@ -3,7 +3,29 @@ Bug #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow --SKIPIF-- --FILE-- - + --EXPECTF-- Warning: imagecreatefromgd2(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully in %sbug72339.php on line %d -- cgit v1.2.1