This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/10352] no protection against using fd_set with fd>1024


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]