cvs: php-src(PHP_5_2) / NEWS /ext/xmlwriter php_xmlwriter.c
| From: | Ilia Alshanetsky | Date: | Wed, 24 Oct 2007 22:50:20 +0000 |
| Subject: | cvs: php-src(PHP_5_2) / NEWS /ext/xmlwriter php_xmlwriter.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-46756@lists.php.net to get a copy of this message | ||
iliaa Wed Oct 24 22:50:20 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/xmlwriter php_xmlwriter.c
/php-src NEWS
Log:
MFB: Fixed bug #43099 (XMLWriter::endElement() does not check # of params)
http://cvs.php.net/viewvc.cgi/php-src/ext/xmlwriter/php_xmlwriter.c?r1=1.20.2.12.2.15&r2=1.20.2.12.2.16&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.15
php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.16
--- php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.15 Mon May 14 09:23:49 2007
+++ php-src/ext/xmlwriter/php_xmlwriter.c Wed Oct 24 22:50:19 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_xmlwriter.c,v 1.20.2.12.2.15 2007/05/14 09:23:49 pajoye Exp $ */
+/* $Id: php_xmlwriter.c,v 1.20.2.12.2.16 2007/10/24 22:50:19 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -464,6 +464,9 @@
if (this) {
XMLWRITER_FROM_OBJECT(intern, this);
+ if (ZEND_NUM_ARGS()) {
+ WRONG_PARAM_COUNT;
+ }
} else
#endif
{
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.985&r2=1.2027.2.547.2.986&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.985 php-src/NEWS:1.2027.2.547.2.986
--- php-src/NEWS:1.2027.2.547.2.985 Mon Oct 22 22:43:44 2007
+++ php-src/NEWS Wed Oct 24 22:50:19 2007
@@ -37,6 +37,8 @@
- Fixed htmlentities/htmlspecialchars not to accept partial multibyte
sequences. (Stas)
+- Fixed bug #43099 (XMLWriter::endElement() does not check # of params).
+ (Ilia)
- Fixed bug #43020 (Warning message is missing with shuffle() and more
than one argument). (Scott)
- Fixed bug #4294 (Move *timeout initialization from RINIT to connect time).