[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180410143003.A40E460AFB@smtp.codeaurora.org>
Date: Tue, 10 Apr 2018 14:30:03 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin Ian King <colin.king@...onical.com>
Cc: Maya Erez <merez@...eaurora.org>, linux-wireless@...r.kernel.org,
wil6210@....qualcomm.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [next] wil6210: fix potential null dereference of ndev before
null check
Colin Ian King <colin.king@...onical.com> wrote:
> 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@...onical.com>
> Reviewed-by: Maya Erez <merez@...eaurora.org>
> Signed-off-by: Kalle Valo <kvalo@...eaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
db5a4d5e1073 wil6210: fix potential null dereference of ndev before null check
--
https://patchwork.kernel.org/patch/10313705/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists