Thread (1 message) 1 message, 1 author, 2023-12-06

Re: [PATCH] scsi: ibmvscsi: replace deprecated strncpy with strscpy

From: Martin K. Petersen <hidden>
Date: 2023-12-06 01:58:26
Also in: linux-hardening, linux-scsi, lkml

Michael,
quoted
strncpy() is deprecated for use on NUL-terminated destination strings
[1] and as such we should prefer more robust and less ambiguous string
interfaces.
I gave it a quick boot, no issues.

Tested-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Applied to 6.8/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help