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 main/main.c

From: Date: Tue, 03 Mar 2015 08:27:35 +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 main/main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85163@lists.php.net to get a copy of this message
Commit: 6cb3b941df1a0390a1e1c2de1c001fc6df8e955e Author: Reeze Xia <reeze@php.net> Tue, 3 Mar 2015 16:27:35 +0800 Parents: f353162ca2f33baf79cd77d7aa05693b03b121d8 304fb7a3d6adbf08fee7e27f4da4e2bd0ef09c48 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6cb3b941df1a0390a1e1c2de1c001fc6df8e955e Log: Merge branch 'PHP-5.5' into PHP-5.6 * PHP-5.5: Improve fix for bug 67741 Added type checks Added type checks 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 MM main/main.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 (#85163) next »