- Installation
. Fixed bug #61172 (Add Apache 2.4 support). (Chris Jones)
-- Fileinfo
- . Fixed bug #61173 (Unable to detect error from finfo constructor). (Gustavo)
-
-- Firebird Database extension (ibase):
- . Fixed bug #60802 (ibase_trans() gives segfault when passing params).
+- mbstring:
+ . MFH mb_ereg_replace_callback() for security enhancements. (Rui)
+ - Libxml:
+ . Fixed bug #61367 (open_basedir bypass using libxml RSHUTDOWN).
+ (Tim Starling)
+
- mysqli
. Fixed bug #61003 (mysql_stat() require a valid connection). (Johannes).
return SUCCESS;
}
-
- static PHP_RSHUTDOWN_FUNCTION(libxml)
+ static int php_libxml_post_deactivate()
{
+ TSRMLS_FETCH();
/* reset libxml generic error handling */
- xmlSetGenericErrorFunc(NULL, NULL);
- xmlSetStructuredErrorFunc(NULL, NULL);
+ if (_php_libxml_per_request_initialization) {
+ xmlSetGenericErrorFunc(NULL, NULL);
+ xmlSetStructuredErrorFunc(NULL, NULL);
- xmlParserInputBufferCreateFilenameDefault(NULL);
- xmlOutputBufferCreateFilenameDefault(NULL);
+ xmlParserInputBufferCreateFilenameDefault(NULL);
+ xmlOutputBufferCreateFilenameDefault(NULL);
+ }
if (LIBXML(stream_context)) {
zval_ptr_dtor(&LIBXML(stream_context));