com php-src: Fix wddx: ext/wddx/wddx.c

From: Date: Wed, 05 Jul 2017 03:19:34 +0000
Subject: com php-src: Fix wddx: ext/wddx/wddx.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98356@lists.php.net to get a copy of this message
Commit: 6b18d956de38ecd8913c3d82ce96eb0368a1f9e5 Author: Stanislav Malyshev <stas@php.net> Tue, 4 Jul 2017 20:18:57 -0700 Parents: 0496f5407f884d9040e52cda31c9b7a6447f5fa1 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6b18d956de38ecd8913c3d82ce96eb0368a1f9e5 Log: Fix wddx Changed paths: M ext/wddx/wddx.c Diff: diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c index 62c9e8e..c1fe020 100644 --- a/ext/wddx/wddx.c +++ b/ext/wddx/wddx.c @@ -761,9 +761,6 @@ static void php_wddx_push_element(void *user_data, const XML_Char *name, const X } else if (!strcmp((char *)name, EL_BOOLEAN)) { int i; - ALLOC_ZVAL(ent..data); - INIT_PZVAL(ent.data); - Z_TYPE_P(ent.data) = IS_BOOL; ent.type = ST_BOOLEAN; SET_STACK_VARNAME; if (atts) for (i = 0; atts[i]; i++) { @@ -774,7 +771,7 @@ static void php_wddx_push_element(void *user_data, const XML_Char *name, const X break; } } else { - ZVAL_FALSE(ent.data); + ZVAL_FALSE(&ent.data); wddx_stack_push((wddx_stack *)stack, &ent, sizeof(st_entry)); } } else if (!strcmp((char *)name, EL_NULL)) {

« previous php.cvs (#98356) next »