[libvirt] [PATCH] Don't dereference NULL in qemumonitorjsontest
John Ferlan
jferlan at redhat.com
Fri Sep 20 11:50:35 UTC 2013
On 09/20/2013 07:47 AM, Ján Tomko wrote:
> In case of an error, qemuMonitorTestNewSimple returns NULL.
> Error out instead of dereferencing it.
>
> Found by Coverity, reported by John Ferlan.
> ---
> Pushed as trivial.
>
> tests/qemumonitorjsontest.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
Yes - both were fixed.
John
More information about the libvir-list
mailing list