summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-06-01 15:24:08 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-06-18 10:55:15 +0200
commitc1e3f64f87381ed3768b9247ab0cd08b41927da6 (patch)
treef8ed791583b398e7006d200fdc3e9316e67f1270 /MAINTAINERS
parentLinux 4.18-rc1 (diff)
downloadlinux-c1e3f64f87381ed3768b9247ab0cd08b41927da6.tar.xz
linux-c1e3f64f87381ed3768b9247ab0cd08b41927da6.zip
qtnfmac: fix NULL pointer dereference
In case *vif* is NULL at 655: if (!vif), the execution path jumps to label out, where *vif* is dereferenced at 679: if (vif->sta_state == QTNF_STA_CONNECTING) Fix this by immediately returning when *vif* is NULL instead of jumping to label out. Addresses-Coverity-ID: 1469567 ("Dereference after null check") Fixes: 480daa9cb62c ("qtnfmac: fix invalid STA state on EAPOL failure") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Reviewed-by: Sergey Matyukevich <sergey.matyukevich.os@quanenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions