svn: /php/php-src/trunk/TSRM/ tsrm_virtual_cwd.c
| From: | Pierre-Alain Joye | Date: | Thu, 03 Sep 2009 19:11:30 +0000 |
| Subject: | svn: /php/php-src/trunk/TSRM/ tsrm_virtual_cwd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-60311@lists.php.net to get a copy of this message | ||
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);