pajoye                                   Wed, 02 Sep 2009 22:59:58 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=287975

Log:
- #48746, len includes null already

Bug: http://bugs.php.net/48746 (Feedback) Unable to browse directories within 
Junction Points
      
Changed paths:
    U   php/php-src/branches/PHP_5_3/TSRM/tsrm_virtual_cwd.c

Modified: php/php-src/branches/PHP_5_3/TSRM/tsrm_virtual_cwd.c
===================================================================
--- php/php-src/branches/PHP_5_3/TSRM/tsrm_virtual_cwd.c        2009-09-02 
22:19:03 UTC (rev 287974)
+++ php/php-src/branches/PHP_5_3/TSRM/tsrm_virtual_cwd.c        2009-09-02 
22:59:58 UTC (rev 287975)
@@ -746,7 +746,7 @@
                                *(path + bufindex) = 0;
                                j = bufindex;
                        } else {
-                               j = rname_len + 1;
+                               j = len;
                        }
                        tsrm_free_alloca(pbuffer, use_heap_large);


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

Reply via email to