[libvirt] [PATCH 2/2] qemu-blockjob: Fix limit of bandwidth for block jobs to supported value

Eric Blake eblake at redhat.com
Wed Apr 3 13:32:54 UTC 2013


On 04/03/2013 02:46 AM, Peter Krempa wrote:
> The JSON generator is able to represent only values less than LLONG_MAX, fix the
> bandwidth limit checks when converting to value to catch overflows before they
> reach the parser.
> ---
>  src/qemu/qemu_monitor.c | 21 ++++++++++++---------
>  1 file changed, 12 insertions(+), 9 deletions(-)

ACK.  This one is safe in isolation, even if we drop 1/2.

-- 
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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130403/c6878781/attachment-0001.sig>


More information about the libvir-list mailing list