diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-08-16 18:23:36 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2016-12-13 15:33:42 +0100 |
commit | fe9ed49dafa993e3af96b6a5a589efeea9bfb36f (patch) | |
tree | 96e1870f69de8975d3fc6c2407807c075059a70b /tests/gd2/too_few_image_data.gd2 | |
parent | 60bfb401ad5a4a8ae995dcd36372fe15c71e1a35 (diff) | |
download | libgd-fe9ed49dafa993e3af96b6a5a589efeea9bfb36f.tar.gz |
Fix DOS vulnerability in gdImageCreateFromGd2Ctx()
We must not pretend that there are image data if there are none. Instead
we fail reading the image file gracefully.
Diffstat (limited to 'tests/gd2/too_few_image_data.gd2')
-rw-r--r-- | tests/gd2/too_few_image_data.gd2 | bin | 0 -> 1050 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/gd2/too_few_image_data.gd2 b/tests/gd2/too_few_image_data.gd2 Binary files differnew file mode 100644 index 0000000..1c797d1 --- /dev/null +++ b/tests/gd2/too_few_image_data.gd2 |