cURL / Mailing Lists / curl-library / Single Mail


[PATCH] banning "unsafe" functions

From: Daniel Stenberg <>
Date: Wed, 6 Mar 2013 13:34:25 +0100 (CET)


As a result of the last security vulnerability we had, I'm adding new code to
checksrc that will alert us on uses of (v)sprintf, strcat and gets in the code

This is meant to be an additional tool to help us detect unsafe code easier,
since all those functions are too easily use without careful considerations of
all possible side-effects.

I also had to clean up some code so that this wouldn't immediately start
complaining! =)

Comments or improvements?


List admin:

Received on 2013-03-06