checksrc: ban unsafe functions
authorDaniel Stenberg <daniel@haxx.se>
Wed, 6 Mar 2013 12:27:51 +0000 (13:27 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Mar 2013 10:08:05 +0000 (11:08 +0100)
commit7f963a19ecbceef5d7e95e677ccc089d04ef987f
tree459db8c1b5d5243e9b5e3ebfd3e8974131d321de
parent9ceee69ff7d6139de759a4f25051e0d661e0c2b0
checksrc: ban unsafe functions

The list of unsafe functions currently consists of sprintf, vsprintf,
strcat, strncat and gets.

Subsequently, some existing code needed updating to avoid warnings on
this.
include/curl/mprintf.h
lib/checksrc.pl
lib/ftp.c
lib/http_digest.c
lib/mprintf.c
src/tool_dirhie.c
src/tool_operate.c
src/tool_operhlp.c
src/tool_parsecfg.c
src/tool_setopt.c