Re: [PATCH] scsi: aha1740: Avoid over-read of sense buffer

From: Martin K. Petersen
Date: Fri Jun 18 2021 - 23:29:56 EST



Kees,

> In preparation for FORTIFY_SOURCE performing compile-time and run-time
> field bounds checking for memcpy(), memmove(), and memset(), avoid
> intentionally reading across neighboring array fields.

Applied to 5.14/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering