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

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



Kees,

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

Applied to 5.14/scsi-staging, thanks!

Strictly speaking padding shouldn't be necessary but this isn't fast
path so no big deal.

--
Martin K. Petersen Oracle Linux Engineering