diff options
author | Kees Cook <keescook@chromium.org> | 2022-02-16 23:25:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-25 14:11:01 +0300 |
commit | f4e335f34519ba8e1271f779a7bc7db168e4488d (patch) | |
tree | a9f05eafc4de7a88f0ed4e122b6b86e8ae41af3b /drivers/misc/cardreader/rts5227.c | |
parent | 2c9ae453543c9a3c08840cc4a51a054ebc4e75bf (diff) | |
download | linux-f4e335f34519ba8e1271f779a7bc7db168e4488d.tar.xz |
lkdtm/fortify: Swap memcpy() for strncpy()
The memcpy() runtime defenses are still not landed, so test with
strncpy() for now.
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reported-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220216202548.2093883-1-keescook@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/cardreader/rts5227.c')
0 files changed, 0 insertions, 0 deletions