mirror of
https://github.com/php/php-src.git
synced 2024-09-24 03:17:26 +00:00
f5622f5c87
Calling imagesetstyle() with an empty $styles array caused gdImageSetStyle() to be called with `noOfPixels==0`, what could have lead to OOB reads. Actually, this issue will be fixed in libgd, but to avoid issues when older libgd is in use, we simply disallow passing an empty $styles array to imagesetstyle(), what wouldn't serve a useful purpose anyway. |
||
---|---|---|
.. | ||
libgd | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
gd_compat.c | ||
gd_compat.h | ||
gd_ctx.c | ||
gd.c | ||
gd.dsp | ||
gdcache.c | ||
gdcache.h | ||
php_gd.h |