diff options
author | Bikash Hazarika <[email protected]> | 2023-06-07 17:08:37 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-06-14 22:06:01 -0400 |
commit | 464ea494a40c6e3e0e8f91dd325408aaf21515ba (patch) | |
tree | 292f833e2173e90381acdcbf319a4db93a0b03de /scripts/clang-tools/gen_compile_commands.py | |
parent | d721b591b95cf3f290f8a7cbe90aa2ee0368388d (diff) |
scsi: qla2xxx: Fix potential NULL pointer dereference
Klocwork tool reported 'cur_dsd' may be dereferenced. Add fix to validate
pointer before dereferencing the pointer.
Cc: [email protected]
Signed-off-by: Bikash Hazarika <[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/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions