diff options
| author | David Laight <david.laight.linux@gmail.com> | 2026-06-08 10:55:02 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-17 15:49:07 +0200 |
| commit | 6994c8b4ef95114073a51d6143185bca39d6e5d5 (patch) | |
| tree | d96d941331cd29b4d766ecd779bc9bd8d2122037 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 61b101c6a150057b6d512421ed108aed16e822ea (diff) | |
drivers/misc/enclosure: Replace strcpy() + strcat() with snprintf()
While the sizeof the target buffer is (should be) ENCLOSURE_NAME_SIZE
and the copies should not overrrun this stops any static analysis objecting
to the unbounded strcpy() and strcat() calls
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Link: https://patch.msgid.link/20260608095523.2606-18-david.laight.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
