diff options
author | 2022-11-19 11:13:29 +0300 | |
---|---|---|
committer | 2022-12-05 18:00:59 +0100 | |
commit | 63d5429f68a3d4c4aa27e65a05196c17f86c41d6 (patch) | |
tree | 44c4ea0f73aa09dd970063817049433c3694185a /tools/perf/scripts/python | |
parent | btrfs: fix uninitialized variable in find_first_clear_extent_bit (diff) | |
download | wireguard-linux-63d5429f68a3d4c4aa27e65a05196c17f86c41d6.tar.xz wireguard-linux-63d5429f68a3d4c4aa27e65a05196c17f86c41d6.zip |
btrfs: replace strncpy() with strscpy()
Using strncpy() on NUL-terminated strings are deprecated. To avoid
possible forming of non-terminated string strscpy() should be used.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
CC: stable@vger.kernel.org # 4.9+
Signed-off-by: Artem Chernyshev <artem.chernyshev@red-soft.ru>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions