Re: [PATCH RESEND] n64cart: use strscpy in n64cart_probe
From: Jens Axboe
Date: Tue Jun 02 2026 - 19:44:34 EST
On Sun, 17 May 2026 19:26:17 +0200, Thorsten Blum wrote:
> 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
>
> [...]
Applied, thanks!
[1/1] n64cart: use strscpy in n64cart_probe
commit: 3f1eccd37282de91efd0575ee8e212af4bde39b1
Best regards,
--
Jens Axboe