com php-src: Fixed bug #61557 (Crasher in tt-rss backend.php): ext/libxml/libxml.c

From: Date: Thu, 29 Nov 2012 10:41:20 +0000
Subject: com php-src: Fixed bug #61557 (Crasher in tt-rss backend.php): ext/libxml/libxml.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-70617@lists.php.net to get a copy of this message
Commit: bf6fea6ba06ee670e55ce06a190e82440e2fa9ce Author: Dmitry Stogov <dmitry@zend.com> Thu, 29 Nov 2012 14:41:20 +0400 Parents: 3c1888f58468ff0fd7f6c20f3fd7701ed7273647 Branches: PHP-5.5 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bf6fea6ba06ee670e55ce06a190e82440e2fa9ce Log: Fixed bug #61557 (Crasher in tt-rss backend.php) Bugs: https://bugs.php.net/61557 Changed paths: M ext/libxml/libxml.c Diff: diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index c97ee67..06de013 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -860,7 +860,6 @@ static PHP_MSHUTDOWN_FUNCTION(libxml) { if (!_php_libxml_per_request_initialization) { xmlSetGenericErrorFunc(NULL, NULL); - xmlSetStructuredErrorFunc(NULL, NULL); xmlParserInputBufferCreateFilenameDefault(NULL); xmlOutputBufferCreateFilenameDefault(NULL); @@ -876,11 +875,11 @@ static int php_libxml_post_deactivate() /* reset libxml generic error handling */ if (_php_libxml_per_request_initialization) { xmlSetGenericErrorFunc(NULL, NULL); - xmlSetStructuredErrorFunc(NULL, NULL); xmlParserInputBufferCreateFilenameDefault(NULL); xmlOutputBufferCreateFilenameDefault(NULL); } + xmlSetStructuredErrorFunc(NULL, NULL); if (LIBXML(stream_context)) { /* the steam_context resource will be released by resource list destructor */

« previous php.cvs (#70617) next »