[libvirt] [PATCH] Fix off-by-one check in QEMU memory stats

Daniel P. Berrange berrange at redhat.com
Wed Apr 14 10:46:54 UTC 2010


On Wed, Apr 14, 2010 at 11:22:05AM +0100, Daniel P. Berrange wrote:
> The QEMU memory stats JSON monitor command was too cautious in
> checking array bounds, dropping the last requested stat
> 
> * src/qemu/qemu_monitor_json.c: Fix off-by-1 check in memory
>   stats
> ---
>  src/qemu/qemu_monitor_json.c |   12 ++++++------
>  1 files changed, 6 insertions(+), 6 deletions(-)

I realize I never commited the previous patch this is against, so I'll
fold it into the original & push it

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list