From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [patch] KVM: fix vcpu freeing bug Date: Tue, 30 Jan 2007 15:00:11 +0200 Message-ID: <45BF415B.6010500@qumranet.com> References: <20070129184612.GA12235@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Ingo Molnar Return-path: In-Reply-To: <20070129184612.GA12235-X9Un+BFzKDI@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Ingo Molnar wrote: > From: Ingo Molnar > Subject: [patch] KVM: fix vcpu freeing bug > > vcpu_load() can return NULL and it sometimes does in failure paths (for > example when the userspace ABI version is too old) - causing a > preemption count underflow in the ->vcpu_free() later on. So check for > NULL. > > Applied, thanks. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV