diff options
| author | Artem Chernyshev <[email protected]> | 2022-11-19 08:13:29 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-12-05 17:00:59 +0000 |
| commit | 63d5429f68a3d4c4aa27e65a05196c17f86c41d6 (patch) | |
| tree | 44c4ea0f73aa09dd970063817049433c3694185a /tools/perf/scripts/python/check-perf-trace.py | |
| parent | btrfs: fix uninitialized variable in find_first_clear_extent_bit (diff) | |
| download | kernel-63d5429f68a3d4c4aa27e65a05196c17f86c41d6.tar.gz kernel-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: [email protected] # 4.9+
Signed-off-by: Artem Chernyshev <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
