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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to