[PATCH 4.13 058/109] scsi: qedi: off by one in qedi_get_cmd_from_tid()

2017-09-24 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit fa2d9d6e894e096678a50ef0f65f7a8c3d8a40b8 upstream. The > here should be >= or we end up reading one element beyond the end of the

[PATCH 4.13 058/109] scsi: qedi: off by one in qedi_get_cmd_from_tid()

2017-09-24 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit fa2d9d6e894e096678a50ef0f65f7a8c3d8a40b8 upstream. The > here should be >= or we end up reading one element beyond the end of the qedi->itt_map[] array. The