cvs: TSRM(PHP_4_3) / tsrm_virtual_cwd.c

From: Date: Sat, 15 Jan 2005 18:45:01 +0000
Subject: cvs: TSRM(PHP_4_3) / tsrm_virtual_cwd.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3296@lists.php.net to get a copy of this message
sesser Sat Jan 15 13:45:01 2005 EDT Modified files: (Branch: PHP_4_3) /TSRM tsrm_virtual_cwd.c Log: MFH http://cvs.php.net/diff.php/TSRM/tsrm_virtual_cwd.c?r1=1.41.2.8&r2=1.41.2.9&ty=u Index: TSRM/tsrm_virtual_cwd.c diff -u TSRM/tsrm_virtual_cwd.c:1.41.2.8 TSRM/tsrm_virtual_cwd.c:1.41.2.9 --- TSRM/tsrm_virtual_cwd.c:1.41.2.8 Wed Dec 1 20:04:46 2004 +++ TSRM/tsrm_virtual_cwd.c Sat Jan 15 13:45:00 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tsrm_virtual_cwd.c,v 1.41.2.8 2004/12/02 01:04:46 sesser Exp $ */ +/* $Id: tsrm_virtual_cwd.c,v 1.41.2.9 2005/01/15 18:45:00 sesser Exp $ */ #include <sys/types.h> #include <sys/stat.h> @@ -852,7 +852,7 @@ dir_length = CWDG(cwd).cwd_length; dir = CWDG(cwd).cwd; - ptr = command_line = (char *) malloc(command_length + sizeof("cd '' ; ") + dir_length +1+1); + ptr = command_line = (char *) malloc(command_length + sizeof("cd '' ; ") + dir_length +extra+1+1); if (!command_line) { return NULL; }

« previous php.zend-engine.cvs (#3296) next »