[libvirt PATCH 1/2] qemu: json: check return value of virJSONValueObjectGetBoolean

Ján Tomko jtomko at redhat.com
Fri Nov 20 14:08:31 UTC 2020


On a Friday in 2020, Peter Krempa wrote:
>On Fri, Nov 20, 2020 at 14:46:06 +0100, Ján Tomko wrote:
>> Signed-off-by: Ján Tomko <jtomko at redhat.com>
>> Fixes: 7555a554706e8a6d492804debbacfaae9f5d8b05
>> ---
>>  src/qemu/qemu_monitor_json.c | 6 ++++--
>>  1 file changed, 4 insertions(+), 2 deletions(-)
>
>See the discussion at:
>
>https://www.redhat.com/archives/libvir-list/2020-November/msg00859.html
>

The discussion revolves around silencing coverity.

This patch aims to fix the bug.

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201120/9968342d/attachment-0001.sig>


More information about the libvir-list mailing list