[PATCH 0/2] Fix numeric overflow in qemu block job handling

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

 



The JSON generator and qemu QMP protocol limit numeric values to LLONG_MAX even
for unsigned values. A bug in the code caused numeric overflow when passing
through speed parameters to qemu block job commands.

Background: https://bugzilla.redhat.com/show_bug.cgi?id=927156

Peter Krempa (2):
  qemu-JSON: Error out if number is out of range instead of overflowing
    to negative
  qemu-blockjob: Fix limit of bandwidth for block jobs to supported
    value

 src/qemu/qemu_monitor.c      | 21 ++++++++++++---------
 src/qemu/qemu_monitor_json.c | 10 ++++++++--
 2 files changed, 20 insertions(+), 11 deletions(-)

-- 
1.8.1.5

--
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]

  Powered by Linux