diff options
| author | Michael Straube <straube.linux@gmail.com> | 2023-10-23 11:00:01 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-25 12:57:46 +0200 |
| commit | e26511f672432417cc1286e00bc65ab82012f5af (patch) | |
| tree | 0a2158ee7289dde3da02bb6f41a1057bb8398f43 /tools/perf/scripts/python | |
| parent | staging: rtl8192e: Remove unused variables TClasProc and TClasNum (diff) | |
| download | linux-e26511f672432417cc1286e00bc65ab82012f5af.tar.gz linux-e26511f672432417cc1286e00bc65ab82012f5af.zip | |
staging: vme_user: prefer strscpy over strcpy
Using strcpy has potential for buffer overflows. It should be replaced
with strscpy where possible. In this case the return value of strcpy is
not used, so we can safely replace it with strscpy.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20231023090001.7273-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
