Bug 36019 - seawolf leaks fd's (up2date-2.5.2-1)
Summary: seawolf leaks fd's (up2date-2.5.2-1)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date
Version: 7.1
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-04-16 12:52 UTC by e
Modified: 2015-01-07 23:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-07-05 20:09:33 UTC
Embargoed:


Attachments (Terms of Use)

Description e 2001-04-16 12:52:01 UTC
in /usr/sharerhn/up2date.py CheckRpmMd5() and hasBadSignature()
in the true "if" case you need a:
       os.close(saveStdout);
       os.close(saveStderr);
on about line 955 and also line 1531
also the false case you do not close "lines".

This stuffs up a large package list download if it is interrupted
when up2date tries to verify the sig of the saved rpms.

Comment 1 Preston Brown 2001-04-16 14:53:41 UTC
seems reasonable, if not essential.


Comment 2 Adrian Likins 2001-07-06 00:34:21 UTC
This has been added in the most recent clients. The up2date errata
for up2date-2.5.4 includes this fix.


Note You need to log in before you can comment on or make changes to this bug.