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: "djm at djm dot net.au" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 01 Oct 2014 00:05:38 +0000
- Subject: [Bug libc/10352] no protection against using fd_set with fd>1024
- Auto-submitted: auto-generated
- References: <bug-10352-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=10352
Damien Miller <djm at djm dot net.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at djm dot net.au
Version|unspecified |2.15
--- Comment #7 from Damien Miller <djm at djm dot net.au> ---
These checks break programs compiled with _FORTIFY_SOURCE that allocate fd_sets
on the heap. This has long been supported by Linux, all BSDs and many
commercial Unix as a way to avoid FD_SETSIZE limits.
Please consider revising the checks to detect explicitly allocated fd_sets or
add a preprocessor flag to disable the check.
--
You are receiving this mail because:
You are on the CC list for the bug.