iliaa Thu Dec 18 20:08:01 2008 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/xmlwriter php_xmlwriter.c /php-src NEWS Log: MFB: Fixed bug #46887 (Invalid calls to php_error_docref()) http://cvs.php.net/viewvc.cgi/php-src/ext/xmlwriter/php_xmlwriter.c?r1=1.20.2.12.2.18&r2=1.20.2.12.2.19&diff_format=u Index: php-src/ext/xmlwriter/php_xmlwriter.c diff -u php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.18 php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.19 --- php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.18 Tue Oct 7 14:35:04 2008 +++ php-src/ext/xmlwriter/php_xmlwriter.c Thu Dec 18 20:08:00 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_xmlwriter.c,v 1.20.2.12.2.18 2008/10/07 14:35:04 iliaa Exp $ */ +/* $Id: php_xmlwriter.c,v 1.20.2.12.2.19 2008/12/18 20:08:00 iliaa Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -168,7 +168,7 @@ #define XMLW_NAME_CHK(__err) \ if (xmlValidateName((xmlChar *) name, 0) != 0) { \ - php_error_docref(NULL TSRMLS_CC, E_WARNING, __err); \ + php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", __err); \ RETURN_FALSE; \ } \ http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1364&r2=1.2027.2.547.2.1365&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.1364 php-src/NEWS:1.2027.2.547.2.1365 --- php-src/NEWS:1.2027.2.547.2.1364 Thu Dec 18 14:56:45 2008 +++ php-src/NEWS Thu Dec 18 20:08:00 2008 @@ -6,7 +6,9 @@ - Fixed security issue in imagerotate(), background colour isn't validated correctly with a non truecolour image. (Fixes CVE-2008-5498) (Scott) -- Fixed bug #46889: Memory leak in strtotime(). (Derick) +- Fixed bug #46889 (Memory leak in strtotime()). (Derick) +- Fixed bug #46887 (Invalid calls to php_error_docref()). + (oeriksson at mandriva dot com, Ilia) - Fixed bug #46798 (Crash in mssql extension when retrieving a NULL value inside a binary or image column type). (Ilia) - Fixed bug #46782 (fastcgi.c parse error). (Matt)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php