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


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.


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