Subject: Re: [1/1] rndis_wlan: add return value validation

From: Kalle Valo <[email-masked]>
Date: Wed, 26 Apr 2017 09:04:16 +0000 (UTC)

Pan Bian <[email-masked]> wrote:
> From: Pan Bian <[email-masked]>
> 
> 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 <[email-masked]>

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