diff options
author | Shreyas Deodhar <[email protected]> | 2023-06-07 17:08:41 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-06-14 22:06:02 -0400 |
commit | 00eca15319d9ce8c31cdf22f32a3467775423df4 (patch) | |
tree | 299943859f5f6c6fc6f6ecfcf6f1f28590db24a1 /scripts/gdb/linux/modules.py | |
parent | b68710a8094fdffe8dd4f7a82c82649f479bb453 (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