This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12926] getaddrinfo()/make_request() may spin forever
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sun, 17 Jul 2011 03:32:44 +0000
- Subject: [Bug libc/12926] getaddrinfo()/make_request() may spin forever
- Auto-submitted: auto-generated
- References: <bug-12926-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12926
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #2 from Rich Felker <bugdal at aerifal dot cx> 2011-07-17 03:32:00 UTC ---
Applications with this bug can be fixed not to close the old file descriptor
before using dup2 to replace it. If there is no old file descriptor,
fcntl/F_DUPFD can be used as a non-destructive dup2 that will choose the next
available fd >= the requested fd if the requested fd is taken.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.