aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorShreyas Deodhar <[email protected]>2023-06-07 17:08:41 +0530
committerMartin K. Petersen <[email protected]>2023-06-14 22:06:02 -0400
commit00eca15319d9ce8c31cdf22f32a3467775423df4 (patch)
tree299943859f5f6c6fc6f6ecfcf6f1f28590db24a1 /scripts/gdb/linux/modules.py
parentb68710a8094fdffe8dd4f7a82c82649f479bb453 (diff)
scsi: qla2xxx: Pointer may be dereferenced
Klocwork tool reported pointer 'rport' returned from call to function fc_bsg_to_rport() may be NULL and will be dereferenced. Add a fix to validate rport before dereferencing. Cc: [email protected] Signed-off-by: Shreyas Deodhar <[email protected]> Signed-off-by: Nilesh Javali <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions