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

[libvirt] [PATCH 0/5] Resolve REVERSE_INULL errors found by Coverity



This patch will resolve a set of "REVERSE_INULL (CWE-476):" errors found
by Coverity.

John Ferlan (5):
  network: Resolve some issues around vlan copying
  xen: Remove extraneous checks in xenStoreGetDomainInfo()
  interface: Need to check ifacedef->mac not just ifacedef after
    strdup()
  xen: Need to check validity of domain->conn before deref privateData
  openvz: Need to check 'vm' first before dereferencing 'def'

 src/interface/interface_backend_udev.c |  2 +-
 src/network/bridge_driver.c            | 16 +++++++++++++---
 src/openvz/openvz_driver.c             |  2 +-
 src/xen/xen_hypervisor.c               |  3 ++-
 src/xen/xs_internal.c                  |  2 +-
 5 files changed, 18 insertions(+), 7 deletions(-)

-- 
1.7.11.7


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