diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-03-28 18:40:27 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-04-10 17:29:10 +0300 |
commit | db5a4d5e1073be452645d7021eeaf807d70325a2 (patch) | |
tree | 5a04de7e17bda9cc432ab2c4076d55cd497e7b99 /Documentation/rtc.txt | |
parent | 6707ba0105a2d350710bc0a537a98f49eb4b895d (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 <colin.king@canonical.com>
Reviewed-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'Documentation/rtc.txt')
0 files changed, 0 insertions, 0 deletions