libgd/tests/gd2
Pierre Joye 167ea1f4f0
Fix tests based on coverity reports (#819)
* Partial #818, unused arg

* Partial #818, init var

* partail #818, fix va_args usage

* partail #818, handle f* calls and avoid possible call to malloc with negative values

* partail #818, prevent double free

* partail #818, resource leak if test fail

* partail #818, null deref fix

* partail #818, avoid double free on fp failure

* Partial #818, fix error msg

* Partial #818, leak on error

* Partial #818, null deref

* Partial #818, avoid possible negative index on failure

* partial #818, does not free if we return if requested new size overflow

* partial #818, avoid double free, free where the alloc happened
2022-02-01 15:09:01 +07:00
..
.gitignore add testcase for gdimagecreatefromgd2part 2020-02-26 23:52:52 +08:00
CMakeLists.txt #797 possible leak on png error, returns from setjmp lost the row_poi… (#802) 2022-01-23 11:57:49 +07:00
Makemodule.am add testcase for gdimagecreatefromgd2part 2020-02-26 23:52:52 +08:00
bug00209.c convert all files to native line encodings 2018-06-21 21:44:54 -04:00
bug00209.gd2 Add regression test for issue #209 2017-01-24 00:03:02 +01:00
bug00309.c Fix #309: gdImageGd2() writes wrong chunk sizes on boundaries 2016-09-23 18:29:52 +02:00
bug00354.c convert all files to native line encodings 2018-06-21 21:44:54 -04:00
bug00354a.gd2 Fix #354: Signed Integer Overflow gd_io.c 2016-12-17 17:38:02 +01:00
bug00354b.gd2 Fix #354: Signed Integer Overflow gd_io.c 2016-12-17 17:38:02 +01:00
bug00383.c clean up trailing whitespace/newlines 2018-06-21 22:47:42 -04:00
bug00383.gd2 Fix #383 (amendment) 2018-02-03 18:31:16 +01:00
bug797.c #797 possible leak on png error, returns from setjmp lost the row_poi… (#802) 2022-01-23 11:57:49 +07:00
bug797.gd2 #797 possible leak on png error, returns from setjmp lost the row_poi… (#802) 2022-01-23 11:57:49 +07:00
bug_289.c tests: clean up various buffers/objects 2018-06-21 21:22:31 -04:00
conv_gd2_exp.gd2 - mv src/tests tests 2007-10-02 09:01:53 +00:00
conv_test.gd2 - mv src/tests tests 2007-10-02 09:01:53 +00:00
conv_test_exp.png - mv src/tests tests 2007-10-02 09:01:53 +00:00
createimagefromgd2part.c add testcase for gdimagecreatefromgd2part 2020-02-26 23:52:52 +08:00
createimagefromgd2partptr.c add testcase for gdimagecreatefromgd2partptr 2019-12-24 23:07:43 +08:00
empty.gd2 - mv src/tests tests 2007-10-02 09:01:53 +00:00
gd2_empty_file.c Remove useless SVN Ids 2016-07-15 16:34:47 +02:00
gd2_im2im.c Partially implement #220: tests: replace all printf error messages with gdTestErrorMsg 2016-07-15 14:59:21 +02:00
gd2_null.c search GD headers locally at first 2013-03-01 16:53:11 +09:00
gd2_read.c Fix tests based on coverity reports (#819) 2022-02-01 15:09:01 +07:00
gd2_read_corrupt.c Fix tests based on coverity reports (#819) 2022-02-01 15:09:01 +07:00
invalid_header.gd2 gd2: fix double free when processing invalid headers 2016-04-30 21:55:17 -04:00
invalid_neg_size.gd2 gd2: handle corrupt images better (CVE-2016-3074) 2016-04-16 03:51:22 -04:00
php_bug_72339.c clean up trailing whitespace/newlines 2018-06-21 22:47:42 -04:00
too_few_image_data.c Fix DOS vulnerability in gdImageCreateFromGd2Ctx() 2016-12-13 15:33:42 +01:00
too_few_image_data.gd2 Fix DOS vulnerability in gdImageCreateFromGd2Ctx() 2016-12-13 15:33:42 +01:00