Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
libvirt.1263
57e681e5-domain_conf-resolve-Coverity-RESOURCE_...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 57e681e5-domain_conf-resolve-Coverity-RESOURCE_LEAK.patch of Package libvirt.1263
From 57e681e529103c90ed4699cb9ba625bd109d2ef3 Mon Sep 17 00:00:00 2001 From: John Ferlan <jferlan@redhat.com> Date: Fri, 9 Jan 2015 11:02:04 -0500 Subject: [PATCH 6/7] domain_conf: Resolve Coverity RESOURCE_LEAK Commit id 'aa2cc721' added call to virSocketAddrFormat and did not VIR_FREE() the returned memory. Signed-off-by: John Ferlan <jferlan@redhat.com> --- src/conf/domain_conf.c | 1 + 1 file changed, 1 insertion(+) Index: libvirt-1.2.5/src/conf/domain_conf.c =================================================================== --- libvirt-1.2.5.orig/src/conf/domain_conf.c +++ libvirt-1.2.5/src/conf/domain_conf.c @@ -15722,6 +15722,7 @@ virDomainNetIpsFormat(virBufferPtr buf, familyStr = "ipv4"; virBufferAsprintf(buf, "<ip address='%s'", ipStr); + VIR_FREE(ipStr); if (familyStr) virBufferAsprintf(buf, " family='%s'", familyStr); if (ips[i]->prefix != 0)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor