cURL / Mailing Lists / curl-library / Single Mail


Re: [PATCH] banning "unsafe" functions

From: Daniel Stenberg <>
Date: Wed, 6 Mar 2013 15:07:37 +0100 (CET)

On Wed, 6 Mar 2013, Daniel Stenberg wrote:

>> The strncat() function is also easy to misuse, so you might want to
>> consider adding that one as well.
> Thanks, I'll add that as well.

After a short conversation on IRC I just wanted to add to my explanation that
I also considered to warn about strcpy and especially strncpy, but we're
currently using these functions a little too much for me to start warning
about them right now.

List admin:
Received on 2013-03-06