[virt-tools-list] [vhostmd PATCH 00/18] Fixes for problems found by Coverity
Jim Fehlig
jfehlig at suse.com
Wed Jan 15 22:07:39 UTC 2020
Rich Jones opened a vhostmd github issue to track problems noted by a
Coverity scan of the codebase
https://github.com/vhostmd/vhostmd/issues/6
This series fixes most of the problems found by Coverity. It can also be
found in my branch on github
https://github.com/jfehlig/vhostmd/tree/coverity-fixes
Jim Fehlig (18):
libmetrics: Set pointer NULL after free
libmetrics: Initialize local variable 'ret' to failure
libmetrics: Check return value of asprintf
libmetrics: Remove unsafe XML_PARSE_NOENT option
libmetrics: Ensure libmetrics mutex is unlocked in error paths
libmetrics: Fix potential memory leak
libmetrics: Use proper conversion specifier when calling log function
libmetrics: Fix potential leak of FILE pointer
util: Add missing call to va_end
util: Fix potential memory leak
util: Check return value of strstr
Check return value of asprintf
vhostmd: Fix memory leak in parse_transports
vhostmd: Remove unsafe XML_PARSE_NOENT option
vhostmd: Check return value of file functions
vhostmd: Check for valide file handle before calling close
vhostmd: Fix memory leak in vhostmd_run
virtio: Fix strncpy length parameter
libmetrics/libmetrics.c | 89 ++++++++++++++++++++++++++-----------------------
vhostmd/util.c | 22 ++++++++----
vhostmd/vhostmd.c | 48 ++++++++++++++++++--------
vhostmd/virtio.c | 2 +-
4 files changed, 99 insertions(+), 62 deletions(-)
--
2.16.4
More information about the virt-tools-list
mailing list