Re: com php-src: Bug #69293 NEW segfault when using SoapClient::__setSoapHeader (bisected, regression): ext/soap/php_encoding.c
| From: | Xinchen Hui | Date: | Fri, 27 Mar 2015 06:20:54 +0000 |
| Subject: | Re: com php-src: Bug #69293 NEW segfault when using SoapClient::__setSoapHeader (bisected, regression): ext/soap/php_encoding.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-85888@lists.php.net to get a copy of this message | ||
Hey Stas:
On Wed, Mar 25, 2015 at 12:07 PM, Xinchen Hui <laruence@php.net> wrote:
> 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);
> }
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
just FYI, I think this should also be merged to 5.4
thanks
--
Xinchen Hui
@Laruence
http://www.laruence.com/