com php-src: Fixed two tests, 1 left: ext/xsl/php_xsl.c
| From: | Xinchen Hui | Date: | Thu, 15 May 2014 09:54:58 +0000 |
| Subject: | com php-src: Fixed two tests, 1 left: ext/xsl/php_xsl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78375@lists.php.net to get a copy of this message | ||
Commit: a031ced63bc1c0318e3dd13950a380e8c8e6f34c
Author: Xinchen Hui <laruence@php.net> Thu, 15 May 2014 17:54:58 +0800
Parents: 08663e910759a59c228dd8d1080e055706df072d
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a031ced63bc1c0318e3dd13950a380e8c8e6f34c
Log:
Fixed two tests, 1 left
Changed paths:
M ext/xsl/php_xsl.c
Diff:
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c
index 44efa27..bda0249 100644
--- a/ext/xsl/php_xsl..c
+++ b/ext/xsl/php_xsl.c
@@ -115,6 +115,7 @@ zend_object *xsl_objects_new(zend_class_entry *class_type TSRMLS_DC)
xsl_object *intern;
intern = ecalloc(1, sizeof(xsl_object) + sizeof(zval) * (class_type->default_properties_count -
1));
+ intern->securityPrefs = XSL_SECPREF_DEFAULT;
zend_object_std_init(&intern->std, class_type TSRMLS_CC);
object_properties_init(&intern->std, class_type);