]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix potential crash in QEMU monitor JSON impl
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 12 Jul 2010 13:07:02 +0000 (14:07 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 12 Jul 2010 17:34:18 +0000 (18:34 +0100)
commit8fa58ab34844096aa6a69ce65acf0b3b14cc482d
tree003646c14e02141d046cc0b4957ac3bda8d0633e
parent69bf3535a7fcfdf326b09b7331e99513c5c891d6
Fix potential crash in QEMU monitor JSON impl

An indentation mistake meant that a check for return status
was not properly performed in all cases. This could result
in a crash on NULL pointer in a following line.

* src/qemu/qemu_monitor_json.c: Fix check for return status
  when processing JSON for blockstats
src/qemu/qemu_monitor_json.c