]> granicus.if.org Git - php/commitdiff
Fixed two tests, 1 left
authorXinchen Hui <laruence@php.net>
Thu, 15 May 2014 09:54:58 +0000 (17:54 +0800)
committerXinchen Hui <laruence@php.net>
Thu, 15 May 2014 09:54:58 +0000 (17:54 +0800)
ext/xsl/php_xsl.c

index 44efa2700c54de3c8ccaea6806359709b0e1f215..bda02498edcd1206fdc2b63f506d4228e000fecb 100644 (file)
@@ -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);