Pan Bian <bianpan201...@163.com> wrote: > From: Pan Bian <bianpan2...@163.com> > > 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 <bianpan2...@163.com>
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