[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xenstat: Fix buffer over-run with new_domains being negative.



On Tue, 2013-09-10 at 17:10 +0100, Andrew Cooper wrote:
> On 10/09/13 16:08, Konrad Rzeszutek Wilk wrote:
> > Coverity identified this as:
> > CID 1055740 Out-of-bounds read - "In xenstat_get_node:
> > Out-of-bounds read from a buffer (CWE-125)"
> >
> > And sure enough, if xc_domain_getinfolist returns us -1, we will
> > try to use it later on in the for (i = 0; i < new_domains; ..)
> > loop.
> >
> > CC: ian.campbell@xxxxxxxxxx
> > Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> 
> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Applied.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.