com php-src: Bug #69293 NEW segfault when u sing SoapClient::__setSoapHeader (bisected, r egression): ext/soap/php_encoding.c

From: Date: Wed, 25 Mar 2015 04:07:25 +0000
Subject: com php-src: Bug #69293 NEW segfault when u sing SoapClient::__setSoapHeader (bisected, r egression): ext/soap/php_encoding.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85855@lists.php.net to get a copy of this message
Commit: 76c1ec5e96640e3076c105bde2cccfceb7557690 Author: Xinchen Hui <laruence@php.net> Wed, 25 Mar 2015 12:07:25 +0800 Parents: a52385fc020027e057f349c75a9bbc6174ef4e0e Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=76c1ec5e96640e3076c105bde2cccfceb7557690 Log: Bug #69293 NEW segfault when using SoapClient::__setSoapHeader (bisected, regression) This was a typo introduced in c8eaca013a3922e8383def6158ece2b63f6ec483 Bugs: https://bugs.php.net/69293 Changed paths: M ext/soap/php_encoding.c Diff: diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index 58fed4f..e9cf9d6 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -464,7 +464,7 @@ static xmlNodePtr master_to_xml_int(encodePtr encode, zval *data, int style, xml xmlNodeSetName(node, BAD_CAST(Z_STRVAL_PP(zname))); } if (zend_hash_find(ht, "enc_namens", sizeof("enc_namens"), (void **)&znamens) == SUCCESS && - Z_TYPE_PP(zname) == IS_STRING) { + Z_TYPE_PP(znamens) == IS_STRING) { xmlNsPtr nsp = encode_add_ns(node, Z_STRVAL_PP(znamens)); xmlSetNs(node, nsp); }

« previous php.cvs (#85855) next »