Re: tsrm patch

From: Date: Sat, 07 Jul 2001 19:59:59 +0000
Subject: Re: tsrm patch
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-59175@lists.php.net to get a copy of this message
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)

« previous php.dev (#59175) next »