summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/php_pdo_sqlite_int.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-10-25 15:14:22 +0200
committerStanislav Malyshev <stas@php.net>2016-10-30 14:28:23 -0700
commit6499581af76cfe986e12330faabb3a7c36d45ffc (patch)
tree4f112b47dcbc9bea6745d0fffd0e21a190744384 /ext/pdo_sqlite/php_pdo_sqlite_int.h
parentf74d7d92c8bc1edc2505e0b58546217e9e1ecb40 (diff)
downloadphp-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