Re: [PATCH net-next v1] NFC: s3fwrn5: Replace strcpy() with strscpy()
From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2026-03-01 16:44:04
Also in:
lkml
From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2026-03-01 16:44:04
Also in:
lkml
On 01/03/2026 15:32, tomasz.unger@yahoo.pl wrote:
From: Tomasz Unger <redacted> Replace strcpy() with strscpy() which limits the copy to the size of the destination buffer. Since fw_info->fw_name is an array, the
"an array with a fixed, declared size" Reviewed-by: Krzysztof Kozlowski <redacted> See similar comment here: https://lore.kernel.org/all/8e68e02a-2c58-485c-a13e-a4b52616e63e@kernel.org/ (local) Best regards, Krzysztof