Re: [PATCH] [v2] scsi: ipr: work around fortify-string warning

From: Kees Cook
Date: Tue Feb 14 2023 - 16:49:42 EST


On Tue, Feb 14, 2023 at 02:28:08PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The ipr_log_vpd_compact() function triggers a fortified memcpy() warning
> about a potential string overflow with all versions of clang:

Perhaps this is arch or config specific? I haven't been able to reproduce
this for some reason.

--
Kees Cook