usb: dwc2: check return value after calling platform_get_resource()
It will cause null-ptr-deref if platform_get_resource() returns NULL, we need check the return value. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20210831084236.1359677-1-yangyingliang@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
parent
b69ec50b
-
mentioned in commit 4b7f4a0e
-
mentioned in commit a7182993
-
mentioned in commit 2754fa3b
-
mentioned in commit 337f00a0
-
mentioned in commit 8b9c1c33
-
mentioned in commit a44a8a76
-
mentioned in commit 701d8ec0
-
mentioned in commit 52bfcedb
-
mentioned in commit 6506aff2
-
mentioned in commit 981ee406
-
mentioned in commit 84e6d0af
Please register or sign in to comment