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

Re: [Xen-devel] [PATCH] x86/mm: Fix possible increment of uninitialised variable



At 18:43 +0100 on 09 Sep (1378752220), Andrew Cooper wrote:
> Discovered by Coverity, CID 1056101
> 
> When taking the continue branch on the first iteration of the loop, gfn would
> indeed be uninitialised when incremented.  However, as gfn is unconditionally
> constructed from i{1..4} before use in the loop body, having it incremented in
> the loop header is useless.
> 
> Therefore, simply remove it.

Acked + applied, thanks.

Tim.

_______________________________________________
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®.