Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12-SP1:Update
libvirt.10484
4ab0c959-libxl-mem-leak.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 4ab0c959-libxl-mem-leak.patch of Package libvirt.10484
commit 4ab0c959e936de7fa2752160ff532913740d4da9 Author: John Ferlan <jferlan@redhat.com> Date: Fri Feb 10 06:54:56 2017 -0500 libxl: Resolve possible resource leak in dom0 maximum memory setting If either the "if (STRPREFIX(mem_tokens[j], "max:"))" is never entered or the "if (virStrToLong_ull(mem_tokens[j] + 4, &p, 10, maxmem) < 0)" break is hit, control goes back to the outer loop processing 'cmd_tokens' and it's possible that the 'mem_tokens' would be overwritten. Found by Coverity Index: libvirt-1.2.18.4/src/libxl/libxl_conf.c =================================================================== --- libvirt-1.2.18.4.orig/src/libxl/libxl_conf.c +++ libvirt-1.2.18.4/src/libxl/libxl_conf.c @@ -1798,6 +1798,7 @@ libxlDriverGetDom0MaxmemConf(libxlDriver goto cleanup; } } + virStringFreeList(mem_tokens); } physmem:
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