[PATCH -next] ALSA: n64: check return value after calling platform_get_resource()

Takashi Iwai tiwai at suse.de
Sat Jun 12 09:31:25 CEST 2021


On Thu, 10 Jun 2021 14:49:58 +0200,
Yang Yingliang wrote:
> 
> It will cause null-ptr-deref if platform_get_resource() returns NULL,
> we need check the return value.
> 
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list