Bug 745761
Summary: | screenshot leaks pipe fd | |||
---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Marc-Andre Lureau <marcandre.lureau> | |
Component: | libvirt | Assignee: | Eric Blake <eblake> | |
Status: | CLOSED UPSTREAM | QA Contact: | ||
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | unspecified | CC: | crobinso, eblake, xen-maint | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 746075 (view as bug list) | Environment: | ||
Last Closed: | 2011-10-13 20:13:06 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 746075 |
Description
Marc-Andre Lureau
2011-10-13 10:30:36 UTC
It seems *errfd = pipeerr[0]; in command.c is not closed. I'll send a patch to libvirt ML. 0.9.7 will include: commit 72851bb9ef0a6aef20141d0a13c36e5a1907a43a Author: Marc-André Lureau <marcandre.lureau> Date: Thu Oct 13 13:47:58 2011 +0200 virFDStream: close also given errfd (fd leak) In virFDStreamOpenFileInternal(), a errfd pipe is opened by virCommandRunAsync() and given to virFDStreamOpenInternal(). It seems virFDStream should close errfd, just like the other fd it is given. This fixes screenshots leaking FDs: http://bugzilla.redhat.com/show_bug.cgi?id=745761 |