diff options
author | Dan Carpenter <[email protected]> | 2017-08-25 13:36:57 +0300 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-08-28 22:12:39 -0400 |
commit | fa2d9d6e894e096678a50ef0f65f7a8c3d8a40b8 (patch) | |
tree | 4a221ee623ee4de65d6ab07e7e0066270f7fe7d0 /scripts/gdb/linux/utils.py | |
parent | 47c4ccd3086139d2085e0f1e59c0f26e8ce4ff46 (diff) |
scsi: qedi: off by one in qedi_get_cmd_from_tid()
The > here should be >= or we end up reading one element beyond the end
of the qedi->itt_map[] array. The qedi->itt_map[] array is allocated in
qedi_alloc_itt().
Fixes: ace7f46ba5fd ("scsi: qedi: Add QLogic FastLinQ offload iSCSI driver framework.")
Cc: <[email protected]> # v4.10+
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Manish Rangankar <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions