[libvirt] [PATCH] qemu: Validate arg in qemuAgentErrorComandUnsupported()

John Ferlan jferlan at redhat.com
Fri Aug 30 21:39:54 UTC 2019



On 8/30/19 12:09 PM, Jonathon Jongsma wrote:
> Coverity noted that 'reply' can be NULL after calling
> qemuAgentCommand().  Avoid dereferencing reply in
> qemuAgentErrorComandUnsupported() in that case.
> 
> Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
> ---
>  src/qemu/qemu_agent.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John

(I've pushed as a bugfix during freeze)




More information about the libvir-list mailing list