Re: [libvirt] [PATCH] Fix potential crash in QEMU monitor JSON impl

2010-07-12 Thread Daniel Veillard
On Mon, Jul 12, 2010 at 02:08:18PM +0100, Daniel P. Berrange wrote: > 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

[libvirt] [PATCH] Fix potential crash in QEMU monitor JSON impl

2010-07-12 Thread Daniel P. Berrange
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