[libvirt] [PATCH 0/2] Couple more Coverity issues

John Ferlan jferlan at redhat.com
Thu Aug 28 19:28:46 UTC 2014


After perusing the pile of 70 or so warnings - these two stuck out as
ones that were low hanging fruit and not false positives.

Many of the remaining "issues" are false positives or perhaps even
bugs in Coverity, but I understand why they're being flagged. Freeing
memory from counted lists where the incoming count must be zero based
on code path - for some reason Coverity flags them because the incoming
list memory is NULL and the for loop deref would be bad. The issue
is Coverity doesn't seem to dig deep enough to determine that the
count and list pointer are linked, sigh (yes, a lot of those).

John Ferlan (2):
  virnetserverservice: Resolve Coverity ARRAY_VS_SINGLETON
  qemu_driver: Resolve Coverity FORWARD_NULL

 src/qemu/qemu_driver.c        | 3 +--
 src/rpc/virnetserverservice.c | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

-- 
1.9.3




More information about the libvir-list mailing list