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

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



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


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