diff options
| author | Ajith P V <ajithpv.linux@gmail.com> | 2026-08-29 18:49:44 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-13 16:27:43 +0200 |
| commit | 6b2175ccecaed99489ce0616115f09215a5c934c (patch) | |
| tree | ba5abcb05700dd113c54df7bed2d1d6a34af9dec /tools/lib/python | |
| parent | 9040ecb593ad6354d34b287d5d83532538e7ea3c (diff) | |
accessibility: speakup: refactor deprecated strcpy
strcpy() is deprecated, use strscpy() instead.
As strcpy() performs no bounds checking on the destination buffer. This
could result in buffer overflow. The safe replacement is strscpy() [1][2].
Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1]
Link: https://github.com/KSPP/linux/issues/88 [2]
Signed-off-by: Ajith P V <ajithpv.linux@gmail.com>
Reviewed-by: Samuel thibault <samuel.thibault@ens-lyon.org>
Link: https://patch.msgid.link/20260829164945.2691317-2-samuel.thibault@ens-lyon.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
