curl-library
Re: [PATCH] banning "unsafe" functions
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 6 Mar 2013 15:07:37 +0100 (CET)
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.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-03-06