Re: [1/1] rndis_wlan: add return value validation
From: Kalle Valo
Date: Wed Apr 26 2017 - 05:28:27 EST
Pan Bian <bianpan201603@xxxxxxx> wrote:
> From: Pan Bian <bianpan2016@xxxxxxx>
>
> Function create_singlethread_workqueue() will return a NULL pointer if
> there is no enough memory, and its return value should be validated
> before using. However, in function rndis_wlan_bind(), its return value
> is not checked. This may cause NULL dereference bugs. This patch fixes
> it.
>
> Signed-off-by: Pan Bian <bianpan2016@xxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
9dc7efd3978a rndis_wlan: add return value validation
--
https://patchwork.kernel.org/patch/9695387/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches