diff options
| author | Yang Yingliang <[email protected]> | 2021-08-31 08:42:36 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-09-14 08:32:56 +0000 |
| commit | 856e6e8e0f9300befa87dde09edb578555c99a82 (patch) | |
| tree | 162056664d5bfd4df98f64e27d96c2b07301fa63 /drivers/usb/class/cdc-acm.c | |
| parent | usb: cdns3: fix race condition before setting doorbell (diff) | |
| download | kernel-856e6e8e0f9300befa87dde09edb578555c99a82.tar.gz kernel-856e6e8e0f9300befa87dde09edb578555c99a82.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions
