diff options
| author | Ross Lagerwall <[email protected]> | 2018-12-14 12:55:45 +0000 |
|---|---|---|
| committer | Boris Ostrovsky <[email protected]> | 2018-12-17 10:29:50 -0500 |
| commit | 1669907e3d1abfa3f7586e2d55dbbc117b5adba2 (patch) | |
| tree | 623ecc6144a0983d5a7d0bc13f1abfa14207e819 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | bf9445a33ae6ac2f0822d2f1ce1365408387d568 (diff) | |
xen/pciback: Check dev_data before using it
If pcistub_init_device fails, the release function will be called with
dev_data set to NULL. Check it before using it to avoid a NULL pointer
dereference.
Signed-off-by: Ross Lagerwall <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions