commit | 6f02bdfc995f098bde87216c122ade2b46f971b5 | [log] [tgz] |
---|---|---|
author | Denis Efremov <efremov@linux.com> | Tue Aug 27 15:20:23 2019 +0300 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed Sep 04 22:55:42 2019 +0900 |
tree | e80a876ff957c1ecd1e0d73b127fa350be326117 | |
parent | 389c9af7f1a1e564c18ab744528b7f64759b7875 [diff] |
modpost: add NOFAIL to strndup Add NOFAIL check for the strndup call, because the function allocates memory and can return NULL. All calls to strdup in modpost are checked with NOFAIL. Signed-off-by: Denis Efremov <efremov@linux.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>