[PATCH 0/1] The virJSONValueObjectGetString function can return NULL, there are no checks

Sergey Mironov posted 1 patch 6 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20231010145526.277548-1-mironov@fintech.ru
src/qemu/qemu_monitor_json.c | 5 +++++
1 file changed, 5 insertions(+)
[PATCH 0/1] The virJSONValueObjectGetString function can return NULL, there are no checks
Posted by Sergey Mironov 6 months, 3 weeks ago
The devAlias check is performed in the "if (!devAlias && !devid) {", so the situation is not handled when devAlias is NULL, and devid is not NULL

Sergey Mironov (1):
  The virJSONValueObjectGetString function can return NULL, there are no
    checks

 src/qemu/qemu_monitor_json.c | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.31.1