From a031ced63bc1c0318e3dd13950a380e8c8e6f34c Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Thu, 15 May 2014 17:54:58 +0800 Subject: [PATCH] Fixed two tests, 1 left --- ext/xsl/php_xsl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c index 44efa2700c..bda02498ed 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); -- 2.50.1