diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2018-12-30 13:59:26 +0100 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2019-01-06 11:38:46 -0800 |
commit | 567c9f58425c37260864f276b6d3f434eecf4b49 (patch) | |
tree | 68c2ac6fc008f59a7f0ec3f9ec0d3754b5732569 /ext/mysqlnd/mysqlnd_commands.c | |
parent | 4feb9e66ff9636ad44bc23a91b7ebd37d83ddf1d (diff) | |
download | php-git-567c9f58425c37260864f276b6d3f434eecf4b49.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