[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 1404] New: File descriptor leak in function find_cap_offset in file tools/python/xen/util/pci.py



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1404

           Summary: File descriptor leak in function find_cap_offset in file
                    tools/python/xen/util/pci.py
           Product: Xen
           Version: unspecified
          Platform: Unspecified
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: ajcg@xxxxxxxxxxx


In file tools/python/xen/util/pci.py:528 (of Xen 3.3.0 stable release).  In
function find_cap_offset, a file is opened using the lowlevel 'os.open'.  If
the 'if' statement 3 lines below it is taken then the function is left without
closing the file descriptor.  Eventually this problem causes Xend to use up all
of its file descriptors and become essentially unusable.


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.