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

RE: [Xen-devel] [PATCH]ioemu: fix buffer overflow of vslots



Simon Horman wrote:
>> +    if ( vslots == NULL )
>> +    {
>> +        status = -1;
> 
> Status is already -1 at this point.

Oh, a little redundant... :-)

> 
>> +        goto err;
>> +    }
>> 
>>      /* Assign given devices to guest */
>>      while ( next_bdf(&direct_pci_p, &seg, &b, &d, &f, &opt) )


Thanks,
-- Dexuan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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