summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql_int.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-09-23 13:16:58 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-09-23 13:18:27 +0200
commit8509970e6a392de42b81882d7c81fa96a3c972e1 (patch)
treea48516787f3915b934cf47384872dbeecaffb97e /ext/pdo_mysql/php_pdo_mysql_int.h
parent697945aa89c060548e003d8ca6785faf5a35e898 (diff)
downloadphp-git-8509970e6a392de42b81882d7c81fa96a3c972e1.tar.gz
Fix signed integer overflow in SplObjectStorage unserialization
If count is ZEND_LONG_MIN the count-- loop underflows. This is ultimately harmless, but results in a ubsan warning. Fix this by adding a sanity check that the count isn't negative, because that doesn't make sense...
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
0 files changed, 0 insertions, 0 deletions