summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-05-17 19:26:17 +0200
committerJens Axboe <axboe@kernel.dk>2026-06-02 17:43:32 -0600
commit3f1eccd37282de91efd0575ee8e212af4bde39b1 (patch)
tree625d2375b11395f307791c5fc7eb1c88756e28d8 /include/linux/timerqueue.h
parentaa528cd12ca6e7fda15f855b6d2095fd34d167e0 (diff)
n64cart: use strscpy in n64cart_probe
strcpy() has been deprecated [1] because it performs no bounds checking on the destination buffer, which can lead to buffer overflows. While the current code works correctly, replace strcpy() with the safer strscpy() to follow secure coding best practices. [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://patch.msgid.link/20260517172617.3954-2-thorsten.blum@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions