Re: [1/1] rndis_wlan: add return value validation
Pan Bianwrote: > From: Pan Bian > > 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 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
Re: [1/1] rndis_wlan: add return value validation
Pan Bian wrote: > From: Pan Bian > > 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 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