Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using select() on unchecked file descriptors #1903

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed

Avoid using select() on unchecked file descriptors #1903

sssd-bot opened this issue May 2, 2020 · 0 comments
Labels
Closed: Fixed Issue was closed as fixed.

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/861

  • Created at 2011-05-03 17:42:42 by sbose
  • Closed as Fixed
  • Assigned to simo

select() does not like file descriptors larger then 1024 and sssd should avoid using select() especially in client code.

Comments


Comment from sgallagh at 2011-05-03 17:44:15

This can cause crashes in client apps on very busy systems using large numbers of file descriptors.

milestone: NEEDS_TRIAGE => SSSD 1.5.8
priority: critical => blocker


Comment from simo at 2011-05-03 18:14:52

Fields changed

owner: ssorce => simo
status: new => assigned


Comment from simo at 2011-05-03 18:19:24

Fields changed

patch: 0 => 1


Comment from sbose at 2011-05-03 19:11:02

To check if select() is used the following call can be used

nm -D libnss_sss.so | grep select

if the output looks like 'U select' the select() is still used. If the output is empty select() isn't used anymore.


Comment from sgallagh at 2011-05-04 16:48:54

Fixed by:
- 67dabad (master)
- cf7385b (sssd-1-5)

resolution: => fixed
status: assigned => closed


Comment from dpal at 2012-01-19 03:10:22

Fields changed

rhbz: => 0


Comment from sbose at 2017-02-24 14:37:32

Metadata Update from @sbose:

  • Issue assigned to simo
  • Issue set to the milestone: SSSD 1.5.8
@sssd-bot sssd-bot added the Closed: Fixed Issue was closed as fixed. label May 2, 2020
@sssd-bot sssd-bot closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

1 participant