Dan Carpenter 4406e4176f scsi: qla2xxx: Fix off by one in qla_edif_app_getstats()
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.

Fixes: 7878f22a2e03 ("scsi: qla2xxx: edif: Add getfcinfo and statistic bsgs")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/5c125b2f-92dd-412b-9b6f-fc3a3207bd60@moroto.mountain
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2024-04-05 21:48:32 -04:00
..
2023-10-13 14:15:54 -04:00
2024-03-16 16:31:12 -07:00
2024-03-16 16:31:12 -07:00
2024-03-16 16:31:12 -07:00
2024-03-16 16:31:12 -07:00
2023-05-31 19:59:26 -04:00
2024-03-10 18:15:48 -04:00
2023-05-26 13:52:19 -07:00
2023-04-18 23:01:23 -04:00
2024-03-22 13:31:07 -07:00
2024-03-15 17:53:48 -07:00
2024-04-01 21:08:48 -04:00
2024-04-01 21:08:48 -04:00
2022-02-22 21:11:02 -05:00
2024-03-22 13:31:07 -07:00
2024-03-16 16:31:12 -07:00
2024-03-16 16:31:12 -07:00
2024-03-22 13:31:07 -07:00
2024-03-22 13:31:07 -07:00
2022-05-08 14:28:18 -04:00
2024-03-10 18:15:49 -04:00
2023-05-31 11:36:40 -04:00