summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmb@php.net>2015-07-13 15:43:16 +0200
committerChristoph M. Becker <cmb@php.net>2015-07-13 15:48:48 +0200
commitfa53d8463f2566f5e4cdedda7a2662f74a7dcd7c (patch)
tree8aad65c93462d0e848d874b388f9cc21b9e676a5 /main/php_variables.c
parent2939bce9f3115f52612fc14fcadf797a659fd3ed (diff)
downloadphp-git-fa53d8463f2566f5e4cdedda7a2662f74a7dcd7c.tar.gz
Fix #69024: imagescale segfault with palette based image
imagescale(..., IMG_BICUBIC) is not supposed to work with palette images, so we fix that by converting to true color if necessary. Basically the same fix has already been applied to the external libgd[1]. [1] <https://github.com/libgd/libgd/commit/723ea520bed3b5854df87393c687323d3930edf3>
Diffstat (limited to 'main/php_variables.c')
0 files changed, 0 insertions, 0 deletions