aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-03-28 18:40:27 +0100
committerKalle Valo <[email protected]>2018-04-10 17:29:10 +0300
commitdb5a4d5e1073be452645d7021eeaf807d70325a2 (patch)
tree5a04de7e17bda9cc432ab2c4076d55cd497e7b99 /tools/perf/scripts/python/mem-phys-addr.py
parent6707ba0105a2d350710bc0a537a98f49eb4b895d (diff)
wil6210: fix potential null dereference of ndev before null check
The pointer ndev is being dereferenced before it is being null checked, hence there is a potential null pointer deference. Fix this by only dereferencing ndev after it has been null checked Detected by CoverityScan, CID#1467010 ("Dereference before null check") Fixes: e00243fab84b ("wil6210: infrastructure for multiple virtual interfaces") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Maya Erez <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions