[dpdk-dev] [PATCH] config: remove insecure warnings
Stephen Hemminger
stephen at networkplumber.org
Tue Dec 6 22:24:29 CET 2016
On Sun, 4 Dec 2016 23:17:06 +0100
Thomas Monjalon <thomas.monjalon at 6wind.com> wrote:
> There was an option CONFIG_RTE_INSECURE_FUNCTION_WARNING (disabled by
> default), which prevents from using some libc functions:
> sprintf, snprintf, vsnprintf, strcpy, strncpy, strcat, strncat, sscanf,
> strtok, strsep and strlen.
>
> It's all about using them at the right place with the right precautions.
> However, it is neither really possible nor a good advice to disable them.
>
> Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
Agreed, this is better done by fortify and other static checkers anyway.
More information about the dev
mailing list