com php-src: Merge branch 'PHP-5.5' into PHP-5.6: ext/soap/php _encoding.c ext/soap/php_http.c ext/soap/soap.c

From: Date: Tue, 03 Mar 2015 06:59:32 +0000
Subject: com php-src: Merge branch 'PHP-5.5' into PHP-5.6: ext/soap/php _encoding.c ext/soap/php_http.c ext/soap/soap.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85156@lists.php.net to get a copy of this message
Commit: 26827a011186ebb0c0cbabe588e7717caf4d4327 Author: Dmitry Stogov <dmitry@zend.com> Tue, 3 Mar 2015 09:59:32 +0300 Parents: 4e2c87edb34c4f151da6899d523c93b8e8565975 035d80523f3ec1c5f1c071a7b2e71cbe3ef43461 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=26827a011186ebb0c0cbabe588e7717caf4d4327 Log: Merge branch 'PHP-5.5' into PHP-5.6 * PHP-5.5: Added type checks Fixed bug #67741 (auto_prepend_file messes up __LINE__) Check variable type before its usage as IS_ARRAY. Fixed a bug that header value is not terminated by '\0' when accessed through getenv(). Bugs: https://bugs.php.net/67741 Changed paths: MM ext/soap/php_encoding.c MM ext/soap/php_http.c MM ext/soap/soap.c Diff: diff --cc ext/soap/php_http.c index 41b7351,90a2728..2045162 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@@ -804,10 -809,10 +809,11 @@@ try_again } /* Send cookies along with request */ - if (zend_hash_find(Z_OBJPROP_P(this_ptr), "_cookies", sizeof("_cookies"), (void **)&cookies) == SUCCESS) { + if (zend_hash_find(Z_OBJPROP_P(this_ptr), "_cookies", sizeof("_cookies"), (void **)&cookies) == SUCCESS && + Z_TYPE_PP(cookies) == IS_ARRAY) { zval **data; char *key; + uint key_len; int i, n; has_cookies = 1;

« previous php.cvs (#85156) next »