[Libvirt-cim] [PATCH v2 0/4] Fix errors raised by Coverity tool

Eduardo Lima (Etrunko) eblima at linux.vnet.ibm.com
Fri Jan 13 18:53:18 UTC 2012


From: "Eduardo Lima (Etrunko)" <eblima at br.ibm.com>

Yet another series of patches fixing errors revealed by Coverity tool. It would
be nice if we had a similar setup so we could run the tool on a regular basis. I
started playing with clang a while ago. It also provides a static analyser, but
I could not complete the setup by then.

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

Changes from v1:
 - Fix compilation error in Patch 1

Best regards, Etrunko


Eduardo Lima (Etrunko) (4):
  libxkutil: Fix possible NULL dereferences
  Fix possible memory leaks
  xml_parse_test: Fix invalid dereference
  Fix possible use of unitialized variables

 libxkutil/cs_util_instance.c              |    5 +++++
 libxkutil/device_parsing.c                |   14 +++++++-------
 libxkutil/pool_parsing.c                  |    5 +++--
 libxkutil/xml_parse_test.c                |    3 +--
 libxkutil/xmlgen.c                        |    8 +++++---
 src/Virt_AppliedFilterList.c              |    3 ++-
 src/Virt_Device.c                         |   20 ++++++++++++++++++++
 src/Virt_DevicePool.c                     |   19 ++++++++++++++++++-
 src/Virt_SwitchService.c                  |   24 ++++++++++++++++++++----
 src/Virt_VirtualSystemManagementService.c |   16 ++++++++--------
 src/Virt_VirtualSystemSnapshotService.c   |    2 +-
 11 files changed, 90 insertions(+), 29 deletions(-)

-- 
1.7.7.5




More information about the Libvirt-cim mailing list