From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCHv2] kvm: Fix nonsense handling of compat ioctl Date: Sun, 26 Aug 2012 15:12:00 -0300 Message-ID: <20120826181200.GA27669@amt.cnet> References: <20120822133400.20200.3726.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Alan Cox Return-path: Content-Disposition: inline In-Reply-To: <20120822133400.20200.3726.stgit@localhost.localdomain> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Wed, Aug 22, 2012 at 02:34:11PM +0100, Alan Cox wrote: > From: Alan Cox > > 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 Applied, thanks.