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

John Ferlan jferlan at redhat.com
Mon Jan 7 17:09:28 UTC 2013


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




More information about the libvir-list mailing list