aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-07-09 14:52:17 +0100
committerMartin K. Petersen <[email protected]>2020-07-13 23:12:30 -0400
commitb92a4a9f7be80fd519fc12c976a1bc7abbabf9a5 (patch)
tree4201a1ab96f75d4b439144955e527ea1ca3e5bab /tools/perf/scripts/python/exported-sql-viewer.py
parentdd06a40201fe8a4db8071b4939fafc5905557b01 (diff)
scsi: cxgb4i: Fix dereference of pointer tdata before it is null checked
Currently pointer tdata is being dereferenced on the initialization of pointer skb before tdata is null checked. This could lead to a potential null pointer dereference. Fix this by dereferencing tdata after tdata has been null pointer sanity checked. Link: https://lore.kernel.org/r/[email protected] Fixes: e33c2482289b ("scsi: cxgb4i: Add support for iSCSI segmentation offload") Addresses-Coverity: ("Dereference before null check") Acked-by: Varun Prakash <[email protected]> Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions