Bug 1235499
Summary: | leaked_storage: Variable "local_err" going out of scope leaks the storage it points to | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | mazhang <mazhang> |
Component: | qemu-kvm-rhev | Assignee: | Markus Armbruster <armbru> |
Status: | CLOSED ERRATA | QA Contact: | FuXiangChun <xfu> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | armbru, chayang, huding, juzhang, knoel, michen, mrezanin, pbonzini, virt-maint, xfu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | QEMU 2.6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-07 20:25:03 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Comment 2
Markus Armbruster
2015-09-08 14:55:13 UTC
Proposed upstream fixes for the remaining two genuine leaks: block/qapi.c http://lists.gnu.org/archive/html/qemu-devel/2015-11/msg04654.html numa.c http://lists.gnu.org/archive/html/qemu-devel/2015-11/msg04667.html Correction: the numa.c leak is only theoretical, because errors can't actually happen here. Revised upstream patch to simplify things: http://lists.nongnu.org/archive/html/qemu-devel/2015-11/msg04858.html This is expected to go into 2.6. The block/qapi.c leak is fixed in 2.5 (commit 903c341). The patch for the numa.c leak mentioned in comment#6 went upstream in commit 2f6f826. Markus, QE can not find covscan source code or rpm for rhel7. I installed covscan on RHEL6.8 guest. It doesn't support --profile=errata. so I can not reproduce this bug as comment0. Do you provide a covscan soruce code or rpm package of rhel7 to QE? Do you have other way to verify this bug? # covscan mock-build --config=rhel-7-x86_64 ./qemu-kvm-rhev-2.6.0-24.el7.src.rpm XML-RPC connection to releng-test1.englab.brq.redhat.com failed: Connection timed out, 5 retries left XML-RPC connection to releng-test1.englab.brq.redhat.com failed: Connection timed out, 4 retries left XML-RPC connection to releng-test1.englab.brq.redhat.com failed: Connection timed out, 3 retries left # covscan --help Usage: covscan <command> [args] [--help] Options: -h, --help show this help message and exit --username=USERNAME specify user --password=PASSWORD specify password commands: cancel-tasks cancel free, assigned or open tasks diff-build analyze a SRPM without and with pathes, return diff help show this help message and exit help-admin show help message about administrative commands and exit list-mock-configs command description list-workers list workers mock-build analyze a SRPM resubmit-tasks resubmit failed tasks watch-tasks track progress of particular tasks Are you aware of http://cov01.lab.eng.brq.redhat.com/coverity/install/covscan/ ? Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2673.html |