com php-src: Fix various int size overflows.: 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 ex t/pcre/php_pcre.c ext/pgsql/pgsql.c ext/standard/stri ng.c ext/xml/xml.c ext/zlib/zlib.c
| From: | Ferenc Kovacs | Date: | Thu, 15 Sep 2016 08:02:42 +0000 |
| Subject: | com php-src: Fix various int size overflows.: 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 ex t/pcre/php_pcre.c ext/pgsql/pgsql.c ext/standard/stri ng.c ext/xml/xml.c ext/zlib/zlib.c |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94543@lists.php.net to get a copy of this message | ||
Commit: 120eb29bb350950213bbc9a0e11345ba20b63db0
Author: Stanislav Malyshev <stas@php.net> Thu, 1 Sep 2016 23:15:34 -0700
Committer: Ferenc Kovacs <tyra3l@gmail.com> Thu, 15 Sep 2016 10:02:42 +0200
Parents: 88d26623b2e55becc1d4b3e7944ebb1a0c1bd908
Branches: PHP-5.6.26
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=120eb29bb350950213bbc9a0e11345ba20b63db0
Log:
Fix various int size overflows.
Add function for detection of string zvals with length that does not fit
INT_MAX.
Changed paths:
M Zend/zend_API.c
M Zend/zend_API.h
M Zend/zend_alloc.c
M Zend/zend_alloc.h
M ext/imap/php_imap.c
M ext/ldap/ldap.c
M ext/pcre/php_pcre.c
M ext/pgsql/pgsql.c
M ext/standard/string.c
M ext/xml/xml.c
M ext/zlib/zlib.c