mirror of https://gitee.com/openkylin/linux.git
1669907e3d
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 <ross.lagerwall@citrix.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> |
||
---|---|---|
.. | ||
Makefile | ||
conf_space.c | ||
conf_space.h | ||
conf_space_capability.c | ||
conf_space_header.c | ||
conf_space_quirks.c | ||
conf_space_quirks.h | ||
passthrough.c | ||
pci_stub.c | ||
pciback.h | ||
pciback_ops.c | ||
vpci.c | ||
xenbus.c |