Re: cvs: php4(PHP_4_0_7) /ext/standard http_fopen_wrapper.c

From: Date: Fri, 19 Oct 2001 15:59:03 +0000
Subject: Re: cvs: php4(PHP_4_0_7) /ext/standard http_fopen_wrapper.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7865@lists.php.net to get a copy of this message
On Fri, 19 Oct 2001, Edin Kadribasic wrote: > - strncat(new_path, resource->host, sizeof(new_path)-strlen(new_path)-1); > + strlcat(new_path, resource->host, sizeof(new_path)-strlen(new_path)-1); Is this correct? As far as I'm aware the last argument to strlcat() should be the size of the whole buffer. -Andrei "The day Microsoft makes something that doesn't suck, is probably the day Microsoft starts making vacuum cleaners." - Ernst Jan Plugge

« previous php.cvs (#7865) next »