diff options
author | Ross Lagerwall | 2018-12-14 13:55:45 +0100 |
---|---|---|
committer | Boris Ostrovsky | 2018-12-17 16:29:50 +0100 |
commit | 1669907e3d1abfa3f7586e2d55dbbc117b5adba2 (patch) | |
tree | 623ecc6144a0983d5a7d0bc13f1abfa14207e819 /include/xen | |
parent | kprobes/x86/xen: blacklist non-attachable xen interrupt functions (diff) | |
download | kernel-qcow2-linux-1669907e3d1abfa3f7586e2d55dbbc117b5adba2.tar.gz kernel-qcow2-linux-1669907e3d1abfa3f7586e2d55dbbc117b5adba2.tar.xz kernel-qcow2-linux-1669907e3d1abfa3f7586e2d55dbbc117b5adba2.zip |
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 <ross.lagerwall@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions