| commit | 665be0da353f69f85cb1acea19279adf6ccb5b52 | [log] [tgz] |
|---|---|---|
| author | Olav Haugan <ohaugan@codeaurora.org> | Mon Feb 06 09:42:18 2012 -0800 |
| committer | Olav Haugan <ohaugan@codeaurora.org> | Mon Mar 12 08:34:35 2012 -0700 |
| tree | 195c813ec43a836b16c007c5e00d3136d52cafa7 | |
| parent | bd404367576fa00bde02187899ba3824fb8a48f2 [diff] |
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: Olav Haugan <ohaugan@codeaurora.org>