[Bug 386558]

Damien Miller 386558 at bugs.launchpad.net
Tue Jul 28 11:25:59 UTC 2020


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 received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/386558

Title:
  RLIMIT_NOFILE > FD_SETSIZE seems to cause select() to corrupt the
  stack

Status in GLibC:
  Fix Released
Status in glibc package in Ubuntu:
  Fix Released

Bug description:
  We've found that when a program has a lot of FDs open and does a
  select(), that the stack can get corrupted.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glibc/+bug/386558/+subscriptions



More information about the foundations-bugs mailing list