From: Ian Campbell Subject: Re: [PATCH 06/29] libxc: don't read uninitialized size value in xc_read_image Date: Thu, 31 Oct 2013 22:26:50 +0000 Message-ID: <1383258410.5436.170.camel@dagon.hellion.org.uk> References: <1383119525-26033-1-git-send-email-mattjd@gmail.com> <1383119525-26033-7-git-send-email-mattjd@gmail.com> <1383254521.5436.144.camel@dagon.hellion.org.uk> 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.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Matthew Daley Cc: Stefano Stabellini , Ian Jackson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, 2013-11-01 at 11:12 +1300, Matthew Daley wrote: > On Fri, Nov 1, 2013 at 10:22 AM, Ian Campbell wrote: > > On Wed, 2013-10-30 at 20:51 +1300, Matthew Daley wrote: > >> This error case can only be triggered by gzread returning 0 (and having > >> not read anything), so move it there. > >> > >> Coverity-ID: 1056076 > > > > Is this right? It seems to correspond to an issue in xc_hvm_build -- > > which doesn't look related. > > xc_hvm_build calls xc_read_image, which is where the issue itself lies > (click on "show details" on event 8.) Thanks, applied.