rasmus          Thu Jun 18 06:32:38 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/main       fopen_wrappers.c 
  Log:
  Fix bug #48592
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/fopen_wrappers.c?r1=1.175.2.3.2.13.2.17&r2=1.175.2.3.2.13.2.18&diff_format=u
Index: php-src/main/fopen_wrappers.c
diff -u php-src/main/fopen_wrappers.c:1.175.2.3.2.13.2.17 
php-src/main/fopen_wrappers.c:1.175.2.3.2.13.2.18
--- php-src/main/fopen_wrappers.c:1.175.2.3.2.13.2.17   Tue Feb 10 16:14:18 2009
+++ php-src/main/fopen_wrappers.c       Thu Jun 18 06:32:38 2009
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: fopen_wrappers.c,v 1.175.2.3.2.13.2.17 2009/02/10 16:14:18 iliaa Exp $ 
*/
+/* $Id: fopen_wrappers.c,v 1.175.2.3.2.13.2.18 2009/06/18 06:32:38 rasmus Exp 
$ */
 
 /* {{{ includes
  */
@@ -451,7 +451,9 @@
                }
        } /* if doc_root && path_info */
 
-       filename = zend_resolve_path(filename, strlen(filename) TSRMLS_CC);
+    if(filename) {
+           filename = zend_resolve_path(filename, strlen(filename) TSRMLS_CC);
+    }
 
        if (!filename) {
                /* we have to free SG(request_info).path_translated here because



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

Reply via email to