On Thu, Feb 20, 2014 at 02:07:42PM +0100, Paolo Bonzini wrote: > Il 20/02/2014 13:34, Dan Carpenter ha scritto: > > This seems like a harmless off by one overflow if "i" is the last > > element in the vcpu->arch.cpuid_entries[] array. > > > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > > --- > > Not tested. I always wonder if it's worth fixing these or if it's worth > > reporting them? Either of those seem like a lot of work for something > > harmless. > > Could it oops if cpuid_nent is INT_MAX? cpuid_nent is capped at KVM_MAX_CPUID_ENTRIES (80). regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html