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

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

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]