From: Ian Jackson Subject: Re: [PATCH] qemu-xen: fix segfault with empty cdroms Date: Fri, 11 Feb 2011 17:54:19 +0000 Message-ID: <19797.30667.485311.549533@mariner.uk.xensource.com> References: <19797.30125.552075.628420@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Stefano Stabellini writes ("Re: [Xen-devel] [PATCH] qemu-xen: fix segfault with empty cdroms"): > No need, in fact if blkdev->params is NULL we return -1 right here. Oh, yes, sorry, I misread the earlier thing as assigning to params. I'll apply your patch. Ian.