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

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




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 redhat com>
> ---
>  src/qemu/qemu_agent.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 

Reviewed-by: John Ferlan <jferlan redhat com>

John

(I've pushed as a bugfix during freeze)


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