summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorAjith P V <ajithpv.linux@gmail.com>2026-08-29 18:49:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-10-13 16:27:43 +0200
commit6b2175ccecaed99489ce0616115f09215a5c934c (patch)
treeba5abcb05700dd113c54df7bed2d1d6a34af9dec /tools/lib/python/kdoc
parent9040ecb593ad6354d34b287d5d83532538e7ea3c (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/kdoc')
0 files changed, 0 insertions, 0 deletions