summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_commands.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2018-12-30 13:59:26 +0100
committerStanislav Malyshev <stas@php.net>2019-01-06 11:34:20 -0800
commit7a12dad4dd6c370835b13afae214b240082c7538 (patch)
tree60833fd6f26b0fa34b53b32eca7257931a7d0a3d /ext/mysqlnd/mysqlnd_commands.c
parent1cc2182bcc81e185c14837e659d12b268cb99d63 (diff)
downloadphp-git-7a12dad4dd6c370835b13afae214b240082c7538.tar.gz
Fix #77270: imagecolormatch Out Of Bounds Write on Heap
At least some of the image reading functions may return images which use color indexes greater than or equal to im->colorsTotal. We cater to this by always using a buffer size which is sufficient for `gdMaxColors` in `gdImageColorMatch()`.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_commands.c')
0 files changed, 0 insertions, 0 deletions