]> Pileus Git - ~andy/linux/commitdiff
kvm: Fix nonsense handling of compat ioctl
authorAlan Cox <alan@linux.intel.com>
Wed, 22 Aug 2012 13:34:11 +0000 (14:34 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Sun, 26 Aug 2012 18:11:48 +0000 (15:11 -0300)
KVM_SET_SIGNAL_MASK passed a NULL argument leaves the on stack signal
sets uninitialized. It then passes them through to
kvm_vcpu_ioctl_set_sigmask.

We should be passing a NULL in this case not translated garbage.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found