[libvirt] [PATCH 2/2] remote: protect against integer overflow
Eric Blake
eblake at redhat.com
Fri Jun 24 22:00:55 UTC 2011
On 06/24/2011 01:48 PM, Matthias Bolte wrote:
> 2011/6/24 Eric Blake <eblake at redhat.com>:
>> Integer overflow and remote code are never a nice mix.
>>
>> This has existed since commit 56cd414.
>>
>> * src/libvirt.c (virDomainGetVcpus): Reject overflow up front.
>> * src/remote/remote_driver.c (remoteDomainGetVcpus): Avoid overflow
>> on sending rpc.
>> * daemon/remote.c (remoteDispatchDomainGetVcpus): Avoid overflow on
>> receiving rpc.
>> +#include "intprops.h"
>
> I see this file in ./gnulib/lib but intprops is not listed in
> bootstrap.conf, so it's probably pulled in as a dependency for another
> module. But it doesn't hurt to be explicit and list it in
> bootstrap.conf.
Actually, I squashed that into patch 1/2.
>
> ACK, with that fixed.
Thanks, and pushed.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110624/98a266f4/attachment-0001.sig>
More information about the libvir-list
mailing list