diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-10-10 11:40:16 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2016-10-10 11:41:39 +0200 |
commit | fc989fc6e773ccfb4d9ade0f466a3c5c2820bfdc (patch) | |
tree | 63f7094150aa42e0706d7ec5e528dfb1ee36d145 /ext/pcre/php_pcre.c | |
parent | b92216b97dcdae738ae24d9bdd1168565dc04406 (diff) | |
download | php-git-fc989fc6e773ccfb4d9ade0f466a3c5c2820bfdc.tar.gz |
Fix #73279: Integer overflow in gdImageScaleBilinearPalette()
The color components are supposed to be in range 0..255, so we must not
cast them to `signed char`, what can be the default for `char`.
Port of <https://github.com/libgd/libgd/commit/77c8d359>.
Diffstat (limited to 'ext/pcre/php_pcre.c')
0 files changed, 0 insertions, 0 deletions