diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-10-25 15:14:22 +0200 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2016-10-30 14:28:23 -0700 |
commit | 6499581af76cfe986e12330faabb3a7c36d45ffc (patch) | |
tree | 4f112b47dcbc9bea6745d0fffd0e21a190744384 /ext/pdo_sqlite/php_pdo_sqlite_int.h | |
parent | f74d7d92c8bc1edc2505e0b58546217e9e1ecb40 (diff) | |
download | php-git-6499581af76cfe986e12330faabb3a7c36d45ffc.tar.gz |
Fix #72482: Ilegal write/read access caused by gdImageAALine overflow
Instead of rolling our own bounds check we use clip_1d() as it's done
in gdImageLine() and in external libgd. We must not pass the image
width and height, respectively, but rather the largest ordinate value
that is allowed to be accessed, i.e. width-1 and height-1,
respectively.
Diffstat (limited to 'ext/pdo_sqlite/php_pdo_sqlite_int.h')
0 files changed, 0 insertions, 0 deletions