com php-src: Fix get_property_ptr_ptr declaration in simplexml: ext/simplexml/simplexml.c
| From: | Nikita Popov | Date: | Sat, 09 Mar 2013 19:15:00 +0000 |
| Subject: | com php-src: Fix get_property_ptr_ptr declaration in simplexml: ext/simplexml/simplexml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71428@lists.php.net to get a copy of this message | ||
Commit: a59b211b2ddc84a2cca572409c4a66b2ed487e0e
Author: Nikita Popov <nikic@php.net> Sat, 9 Mar 2013 20:15:00 +0100
Parents: 9d816ba1d3df25969c2a9f6e659201d2caaf8af3
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a59b211b2ddc84a2cca572409c4a66b2ed487e0e
Log:
Fix get_property_ptr_ptr declaration in simplexml
A new parameter was added to the API and simplexml wasn't adjusted,
thus causing crashes.
Changed paths:
M ext/simplexml/simplexml.c
Diff:
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index 6925168..baae384 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -694,7 +694,7 @@ static void sxe_dimension_write(zval *object, zval *offset, zval *value TSRMLS_D
}
/* }}} */
-static zval** sxe_property_get_adr(zval *object, zval *member, const zend_literal *key TSRMLS_DC)
/* {{{ */
+static zval** sxe_property_get_adr(zval *object, zval *member, int fetch_type, const zend_literal
*key TSRMLS_DC) /* {{{ */
{
php_sxe_object *sxe;
xmlNodePtr node;