175f2f5bcd
KVM allows issuing the KVM_CHECK_EXTENSION ioctl either on the /dev/kvm
fd or the VM fd. In the first case, kvm_vm_ioctl_check_extension() is
called with kvm==NULL. Ensure we don't dereference the pointer in that
case.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
diag.c | ||
gaccess.c | ||
gaccess.h | ||
guestdbg.c | ||
intercept.c | ||
interrupt.c | ||
kvm-s390.c | ||
kvm-s390.h | ||
pci.c | ||
pci.h | ||
priv.c | ||
pv.c | ||
sigp.c | ||
trace-s390.h | ||
trace.h | ||
vsie.c |