This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10352] no protection against using fd_set with fd>1024
- From: "bressers at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 2 May 2011 15:19:53 +0000
- Subject: [Bug libc/10352] no protection against using fd_set with fd>1024
- Auto-submitted: auto-generated
- References: <bug-10352-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=10352
Josh Bressers <bressers at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bressers at redhat dot com
--- Comment #2 from Josh Bressers <bressers at redhat dot com> 2011-05-02 15:19:21 UTC ---
Ulrich,
Could I convince you to revisit this bug? This issue is currently being hit by
some enterprise sized daemons (lots of open fds). The biggest issue is that
almost every use of select is wrong, so fixing them all in a timely manner is
rather impractical. Some projects like Samba have already moved to poll(), but
they're now hitting fd issues in various libraries.
I do agree that this is a library bug, but I think given the situation, it
could make sense to add a fix for this to glibc to prevent buggy select use
from overwriting arbitrary bits in memory. It's obvious that most projects
don't use select() properly, even though its correct use is documented in the
man pages.
Thanks.
--
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.