[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1plzknld5.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 05 Dec 2023 20:58:00 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Michael Ellerman <mpe@...erman.id.au>
Cc: Justin Stitt <justinstitt@...gle.com>,
Tyrel Datwyler
<tyreld@...ux.ibm.com>,
Nicholas Piggin <npiggin@...il.com>,
Christophe
Leroy <christophe.leroy@...roup.eu>,
"James E.J. Bottomley"
<jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH] scsi: ibmvscsi: replace deprecated strncpy with strscpy
Michael,
>> 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@...erman.id.au> (powerpc)
Applied to 6.8/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists