diff options
author | Marcus Boerger <helly@php.net> | 2003-10-26 13:27:03 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-10-26 13:27:03 +0000 |
commit | 14911a136fb6f468c29b5c38c8b53fa050846f19 (patch) | |
tree | 379ef8df4650244655643bf6a270ccf4dae9f93d /ext/simplexml/simplexml.c | |
parent | c7995af071e98650d0649e7687f21db411f384ba (diff) | |
download | php-git-14911a136fb6f468c29b5c38c8b53fa050846f19.tar.gz |
Fix memory corruption
Diffstat (limited to 'ext/simplexml/simplexml.c')
-rw-r--r-- | ext/simplexml/simplexml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 1fd7d1eb3f..dc327f83c8 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -135,7 +135,7 @@ sxe_property_read(zval *object, zval *member, zend_bool silent TSRMLS_DC) MAKE_STD_ZVAL(value); contents = xmlNodeListGetString((xmlDocPtr) sxe->document->ptr, attr->children, 1); - ZVAL_STRING(value, contents, 0); + ZVAL_STRING(value, contents, 1); APPEND_CUR_ELEMENT(counter, value); } attr = attr->next; |