pajoye                                   Thu, 03 Sep 2009 19:11:30 +0000

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

Log:
- MF53: len includes the NULL already

Changed paths:
    U   php/php-src/trunk/TSRM/tsrm_virtual_cwd.c

Modified: php/php-src/trunk/TSRM/tsrm_virtual_cwd.c
===================================================================
--- php/php-src/trunk/TSRM/tsrm_virtual_cwd.c   2009-09-03 18:47:43 UTC (rev 
288001)
+++ php/php-src/trunk/TSRM/tsrm_virtual_cwd.c   2009-09-03 19:11:30 UTC (rev 
288002)
@@ -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