[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170426090341.582A46148E@smtp.codeaurora.org>
Date: Wed, 26 Apr 2017 09:03:41 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Pan Bian <bianpan201603@....com>
Cc: Bhaktipriya Shridhar <bhaktipriya96@...il.com>,
Tejun Heo <tj@...nel.org>, libertas-dev@...ts.infradead.org,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Pan Bian <bianpan2016@....com>
Subject: Re: [1/1] libertas: check return value of alloc_workqueue
Pan Bian <bianpan201603@....com> wrote:
> From: Pan Bian <bianpan2016@....com>
>
> Function alloc_workqueue() will return a NULL pointer if there is no
> enough memory, and its return value should be validated before using.
> However, in function if_spi_probe(), its return value is not checked.
> This may result in a NULL dereference bug. This patch fixes the bug.
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Patch applied to wireless-drivers-next.git, thanks.
dc3f89c38a84 libertas: check return value of alloc_workqueue
--
https://patchwork.kernel.org/patch/9694827/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists