[libvirt] [PATCH 0/9] Various patches as a result of Coverity

John Ferlan jferlan at redhat.com
Mon Jul 18 19:06:51 UTC 2016


Been piling up a few Coverity changes, the later patches aren't anything
critical, but the first few are newer and it seems more likely to be hit
in common paths.  In particular, the first 2 are from recent virconf changes.

John Ferlan (9):
  util: Fix incorrect VIR_FREE in virConfGetValueStringList
  tools: Fix comparison in virLoginShellGetShellArgv
  tests: Need to check return of virGetLastError
  conf: Need to check for glisten before accessing
  vsh: Properly initialize res
  esx: Replace strtok_r usage with virStringSplitCount
  conf: Add ignore_value to virDomainDeviceInfoIterate calls for Clear
    helpers
  openvz: Remove need for strtok_r in openvzGenerateContainerVethName
  openvz: Remove strtok_r calls from openvzReadNetworkConf

 src/conf/domain_conf.c     | 12 ++++++---
 src/esx/esx_vi.c           | 61 ++++++++++++++++++++--------------------------
 src/openvz/openvz_conf.c   | 33 +++++++++++++++----------
 src/openvz/openvz_driver.c | 16 ++++++++----
 src/util/virconf.c         |  2 +-
 tests/qemuhelptest.c       |  4 ++-
 tools/virt-login-shell.c   |  6 +++--
 tools/vsh.c                |  4 +--
 8 files changed, 76 insertions(+), 62 deletions(-)

-- 
2.5.5




More information about the libvir-list mailing list