OpenSolaris

Printable Version Enter a New Search
Bug ID 6674710
Synopsis ssh can leave a defunct process lying around and waste a file descriptor
State 11-Closed:Verified (Closed)
Category:Subcategory ssh:i18n
Keywords
Responsible Engineer Jan Pechanec
Reported Against
Duplicate Of
Introduced In solaris_10
Commit to Fix snv_87
Fixed In snv_87
Release Fixed solaris_nevada(snv_87)
Related Bugs
Submit Date 12-March-2008
Last Update Date 4-September-2008
Description
In the locale routine g11n_getlocales(), the code does a popen(), but if no entries
are retrieved from the popen()ed file, the code returns without performing a pclose()
on the file descriptor.

This wastes a file descriptor and leaves a defunct process in the process tree (wasting
a process slot) for the user connected via ssh(1).

This bug was found by Neale Ferguson of Sine Nomine Associates.
Work Around
N/A
Comments
N/A