Re: tsrm patch
Hi,
I commited a patch.
Andi
At 12:59 PM 7/7/2001 -0700, Shane Caraveo wrote:
Hello,
Sending this little fix to the dev group, since I don't beleive I have
write access into TSRM. Can someone get this submitted?
In tsrm_win32.c, line 138, change the +4 to +5 to allow for the trailing
null character:
- cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+4);
+ cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+5);
Without this, debug builds crash when cmd is freed.
Shane
--
PHP Development Mailing List <
http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
Thread (5 messages)