Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiUff-0006be-9w for qemu-devel@nongnu.org; Sat, 14 Mar 2009 10:17:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiUfa-0006ap-Jl for qemu-devel@nongnu.org; Sat, 14 Mar 2009 10:17:02 -0400 Received: from [199.232.76.173] (port=49485 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiUfa-0006am-Ch for qemu-devel@nongnu.org; Sat, 14 Mar 2009 10:16:58 -0400 Received: from mtaout01-winn.ispmail.ntl.com ([81.103.221.47]:25182) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiUfa-0006Li-0m for qemu-devel@nongnu.org; Sat, 14 Mar 2009 10:16:58 -0400 Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090314141657.WEPA2989.mtaout01-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Sat, 14 Mar 2009 14:16:57 +0000 Received: from miranda.arrow ([213.107.21.171]) by aamtaout01-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090314141657.HOPG13254.aamtaout01-winn.ispmail.ntl.com@miranda.arrow> for ; Sat, 14 Mar 2009 14:16:57 +0000 Received: from sdb by miranda.arrow with local (Exim 4.63) (envelope-from ) id 1LiUfX-00060E-4P for qemu-devel@nongnu.org; Sat, 14 Mar 2009 14:16:55 +0000 Date: Sat, 14 Mar 2009 14:16:55 +0000 From: Stuart Brady Subject: Re: [Qemu-devel] [BUG] Crash in cirrus_do_copy() with cirrus_blt_srcpitch == 0 Message-ID: <20090314141655.GA23061@miranda.arrow> References: <20090314140140.GA22970@miranda.arrow> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090314140140.GA22970@miranda.arrow> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sat, Mar 14, 2009 at 02:01:40PM +0000, Stuart Brady wrote: > I'm not sure whether NT is just being silly, here. If it is, then I > suppose we would need to add a check for srcpitch != 0 and dstpitch != 0 > to BLTUNSAFE()... FWIW, adding this check to BLTUNSAFE() stops QEMU crashing, but doesn't get NT working -- the QEMU display gets resized to 640x480, and the entire display contains white pixels. Cheers, -- Stuart Brady