libgd/tests/gdimagecolorclosest
Pierre Joye 95c6185b37
Bug/818 (#821)
* 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

* partial #818, fix assert logic and test exp_size for <=0

* partial #818, fix assert logic for color idx test

* partial #818, new case for possible leak, improve logic

* partial #818, fix assert logic for color idx test
2022-02-01 22:25:03 +07:00
..
.gitignore gitignore: split up test entries 2016-04-30 13:56:19 -04:00
CMakeLists.txt tests: Correct some test depend errors 2020-01-02 20:27:29 +08:00
Makemodule.am tests: Correct some test depend errors 2020-01-02 20:27:29 +08:00
gdimagecolorclosest.c Bug/818 (#821) 2022-02-01 22:25:03 +07:00