[libvirt] [PATCHv3.5 05.5/18] blockjob: add new monitor json conversions

Eric Blake eblake at redhat.com
Fri Sep 5 16:52:24 UTC 2014


On 09/05/2014 06:00 AM, Peter Krempa wrote:
> On 09/05/14 13:36, Eric Blake wrote:
>> The previous patch hoisted some bounds checks to the callers;
>> but someone that is not aware of the hoisted check could now
>> try passing an integer between LLONG_MAX and ULLONG_MAX.  As a
>> safety measure, add new json conversion modes that let libvirt
>> error out early instead of pass bad numbers to qemu, if the
>> caller ever makes a mistake due to later refactoring.
>>

> 
> Exactly what I had in mind. ACK.

Thanks; I've pushed 4, 5, and 5.5 now (still double-checking the rest of
the series, and will push as I go).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140905/fdfce24a/attachment-0001.sig>


More information about the libvir-list mailing list