Commit 665be0da authored by Olav Haugan's avatar Olav Haugan
Browse files

checkpatch: Check for unsafe string functions



There are many string based functions that are unsafe
to use. Some of the functions are unsafe to use because
of the possibility of overflow while others cannot
guarantee that the resultant string is NULL-terminated.

Add check for these functions and log message indicating
which safe functions can be used instead.

Change-Id: Id305d98df241e3fd257529529739dcd4f3659186
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
parent bd404367
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment