Re: [PATCH] Don't dereference NULL in qemumonitorjsontest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]