iliaa           Mon May 11 12:35:05 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/xmlwriter      php_xmlwriter.c 
    /php-src    NEWS 
  Log:
  MFB: Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid 
 
    paths)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/xmlwriter/php_xmlwriter.c?r1=1.20.2.12.2.20&r2=1.20.2.12.2.21&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.20 
php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.21
--- php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.20        Wed Dec 31 
11:17:47 2008
+++ php-src/ext/xmlwriter/php_xmlwriter.c       Mon May 11 12:35:00 2009
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: php_xmlwriter.c,v 1.20.2.12.2.20 2008/12/31 11:17:47 sebastian Exp $ */
+/* $Id: php_xmlwriter.c,v 1.20.2.12.2.21 2009/05/11 12:35:00 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1451,6 +1451,7 @@
 
        valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, 
MAXPATHLEN TSRMLS_CC);
        if (!valid_file) {
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to resolve 
file path");
                RETURN_FALSE;
        }
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1497&r2=1.2027.2.547.2.1498&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1497 php-src/NEWS:1.2027.2.547.2.1498
--- php-src/NEWS:1.2027.2.547.2.1497    Sun May 10 16:45:01 2009
+++ php-src/NEWS        Mon May 11 12:35:00 2009
@@ -16,6 +16,8 @@
 - Fixed bug #48221 (memory leak when passing invalid xslt parameter). (Felipe)
 - Fixed bug #48206 (Iterating over an invalid data structure
   with RecursiveIteratorIterator leads to a segfault). (Scott)
+- Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
+  paths). (Ilia)
 - Fixed bug #48156 (Added support for lcov v1.7). (Ilia)
 - Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via
   bindto). (Ilia)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to