diff options
| author | Kees Cook <keescook@chromium.org> | 2022-02-16 12:25:48 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-25 12:11:01 +0100 |
| commit | f4e335f34519ba8e1271f779a7bc7db168e4488d (patch) | |
| tree | a9f05eafc4de7a88f0ed4e122b6b86e8ae41af3b /lib/mpi/mpi-add.c | |
| parent | 2c9ae453543c9a3c08840cc4a51a054ebc4e75bf (diff) | |
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 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
