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

[libvirt] [PATCH 0/7] Resolve Coverity issues

The recent changes to change 'int i' to 'size_t i' seem to have uncovered
a few new Coverity issues - resolve those.  Also add a [dead_error_code]
tag to a Coverity issue that's been there for a bit.

After these patches the result is just back to 1 Coverity error in
'virLXCProcessReboot' regarding the usage of 'conn' which still needs
to be eventually resolved, see:


and subsequent followups

John Ferlan (7):
  hellolibvirt: Resolve Coverity issues
  testutils: Resolve Coverity issues
  virsh-domain-monitor: Resolve Coverity issues
  virsh-interface: Resolve Coverity issues
  virsh-nodedev: Resolve Coverity issues
  storage_backend: Resolve Coverity issue
  qemu_hostdev: Resolve Coverity issue

 examples/hellolibvirt/hellolibvirt.c |  7 +++++++
 src/qemu/qemu_hostdev.c              | 12 +++++++-----
 src/storage/storage_backend.c        |  1 +
 tests/testutils.c                    |  3 +++
 tools/virsh-domain-monitor.c         | 10 ++++++----
 tools/virsh-interface.c              | 24 +++++++++++++-----------
 tools/virsh-nodedev.c                | 12 +++++++-----
 7 files changed, 44 insertions(+), 25 deletions(-)


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