Re: [PATCH] scsi: qla2xxx: Fix off by one in qla_edif_app_getstats()

From: Martin K. Petersen
Date: Fri Apr 05 2024 - 21:59:44 EST


On Tue, 02 Apr 2024 12:56:54 +0300, Dan Carpenter wrote:

> The app_reply->elem[] array is allocated earlier in this function and it
> has app_req.num_ports elements. Thus this > comparison needs to be >=
> to prevent memory corruption.
>
>

Applied to 6.9/scsi-fixes, thanks!

[1/1] scsi: qla2xxx: Fix off by one in qla_edif_app_getstats()
https://git.kernel.org/mkp/scsi/c/4406e4176f47

--
Martin K. Petersen Oracle Linux Engineering