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

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



On 04/03/13 15:32, Eric Blake wrote:
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.


I pushed this one.

Thanks for the review.

Peter


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