summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorBill Kuzeja <William.Kuzeja@stratus.com>2019-03-04 16:25:46 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-03-07 03:26:45 +0300
commitdb0f166e9a37215b15d5d732c98fa15219adccf0 (patch)
treee95bcbcb6ce35df0b8f61cbb6f62ea8f1f0de979 /scripts/gdb/linux/utils.py
parent31b6a05f86e690e1818116fd23c3be915cc9d9ed (diff)
downloadlinux-db0f166e9a37215b15d5d732c98fa15219adccf0.tar.xz
scsi: qla2xxx: Fix panic in qla_dfs_tgt_counters_show
When trying to display tgt_counters in the debugfs, a panic can result. There is no null check for qpair after it is assigned in the for-loop. Unless vha->hw->queue_pair_map array is completely filled with entries, the system will panic dereferencing a null pointer. Signed-off-by: Bill Kuzeja <william.kuzeja@stratus.com> Acked-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions