diff options
author | James Smart <[email protected]> | 2017-03-04 09:30:22 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-03-06 23:04:22 -0500 |
commit | 7aabe84b8a1bb7c3f75fb6a23dc96f8999bdcc8f (patch) | |
tree | c33a898cf065f3ed2c6d72b0c836c0416caeea6d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 70e5afd57d6d97d69bf5fd0187c2bb5a79990504 (diff) |
scsi: lpfc: sanity check hrq is null before dereferencing it
From: Colin Ian King <[email protected]>
The sanity check for hrq should be moved to before the deference
of hrq to ensure we don't perform a null pointer deference.
Detected by CoverityScan, CID#1411650 ("Dereference before null check")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions