android_kernel_samsung_a7y1.../drivers/xen/xen-pciback
Ross Lagerwall a529f75475 xen/pciback: Check dev_data before using it
[ Upstream commit 1669907e3d1abfa3f7586e2d55dbbc117b5adba2 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 12:41:44 +02:00
..
conf_space_capability.c xen/pciback: remove set but not used variable 'old_state' 2020-04-06 20:48:45 +02:00
conf_space_header.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
conf_space_quirks.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
conf_space_quirks.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
conf_space.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
conf_space.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
passthrough.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_stub.c xen/pciback: Check dev_data before using it 2020-04-07 12:41:44 +02:00
pciback_ops.c xen/pciback: Don't disable PCI_COMMAND on PCI device reset. 2020-04-06 18:20:54 +02:00
pciback.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vpci.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xenbus.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30