]> granicus.if.org Git - php/commit
Fix various int size overflows.
authorStanislav Malyshev <stas@php.net>
Fri, 2 Sep 2016 06:15:34 +0000 (23:15 -0700)
committerStanislav Malyshev <stas@php.net>
Tue, 13 Sep 2016 04:04:23 +0000 (21:04 -0700)
commit19866fb76cf4c95d904ebb0e08592cf38303fae9
treedd21e44e7b8953545e0869915e1e40cc23e4e9f8
parent0cbf634657dbaf5a49ba1c9f2d479d05c2e806d6
Fix various int size overflows.

Add function for detection of string zvals with length that does not fit
INT_MAX.
Zend/zend_API.c
Zend/zend_API.h
Zend/zend_alloc.c
Zend/zend_alloc.h
ext/imap/php_imap.c
ext/ldap/ldap.c
ext/pcre/php_pcre.c
ext/pgsql/pgsql.c
ext/standard/string.c
ext/xml/xml.c
ext/zlib/zlib.c