]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: check for json allocation failure
authorEric Blake <eblake@redhat.com>
Thu, 13 Oct 2011 00:10:24 +0000 (18:10 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 13 Oct 2011 18:24:39 +0000 (12:24 -0600)
commitce521f242aad8c9bddbe04802c309150f4508b58
tree93b05266c1854337ef1ba0376b564afcd6cdd662
parent430156cf32a6c0db054a527fd1cdeebf90d1ce47
qemu: check for json allocation failure

Detected by Coverity.  Introduced in commit b1b5b51.

* src/qemu/qemu_monitor_json.c (qemuMonitorJSONGetBlockInfo):
Avoid null dereference.
src/qemu/qemu_monitor_json.c