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

[libvirt] [PATCH 0/6] Resolve FORWARD_NULL errors found by Coverity



Bug: https://bugzilla.redhat.com/show_bug.cgi?id=880388

This set of patches resolves "Error: FORWARD_NULL (CWE-476)" errors found
by Coverity. 

John Ferlan (6):
  xen: Avoid possible NULL dereference
  vmware: Avoid NULL dereference for 'caps'
  remote: Avoid calling virAuthConfigLookup() if 'credname' is NULL.
  lxc: Check for non NULL usb prior to calling usbFreeDevice()
  lxc: Avoid possible NULL dereference on *root prior to opendir().
  cpu: Avoid NULL dereference

 src/cpu/cpu_powerpc.c      | 3 ++-
 src/lxc/lxc_container.c    | 6 ++++++
 src/lxc/lxc_driver.c       | 6 ++++--
 src/remote/remote_driver.c | 3 ++-
 src/vmware/vmware_conf.c   | 3 ++-
 src/xen/xen_driver.c       | 6 +++---
 6 files changed, 19 insertions(+), 8 deletions(-)

-- 
1.7.11.7


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