iliaa Mon Jun 18 16:46:21 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src NEWS
/php-src/ext/libxml libxml.c
Log:
Fixed bug #41724 (libxml_get_last_error() - errors survice request scope).
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.786&r2=1.2027.2.547.2.787&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.786 php-src/NEWS:1.2027.2.547.2.787
--- php-src/NEWS:1.2027.2.547.2.786 Mon Jun 18 15:52:46 2007
+++ php-src/NEWS Mon Jun 18 16:46:21 2007
@@ -31,6 +31,8 @@
- Fixed PECL bug #11216 (crash in ZipArchive::addEmptyDir when a directory
already exists). (Pierre)
+- Fixed bug #41724 (libxml_get_last_error() - errors survice request scope).
+ (thekid at php dot net, Ilia)
- Fixed bug #41717 (imagepolygon does not respect thickness). (Pierre)
- Fixed bug #41655 (open_basedir bypass via glob()). (Ilia)
- Fixed bug #41640 (get_class_vars produces error on class constants).
http://cvs.php.net/viewvc.cgi/php-src/ext/libxml/libxml.c?r1=1.32.2.7.2.11&r2=1.32.2.7.2.12&diff_format=u
Index: php-src/ext/libxml/libxml.c
diff -u php-src/ext/libxml/libxml.c:1.32.2.7.2.11
php-src/ext/libxml/libxml.c:1.32.2.7.2.12
--- php-src/ext/libxml/libxml.c:1.32.2.7.2.11 Fri Feb 23 11:12:49 2007
+++ php-src/ext/libxml/libxml.c Mon Jun 18 16:46:21 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: libxml.c,v 1.32.2.7.2.11 2007/02/23 11:12:49 rrichards Exp $ */
+/* $Id: libxml.c,v 1.32.2.7.2.12 2007/06/18 16:46:21 iliaa Exp $ */
#define IS_EXT_MODULE
@@ -674,6 +674,7 @@
efree(LIBXML(error_list));
LIBXML(error_list) = NULL;
}
+ xmlResetLastError();
return SUCCESS;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php