Bug 701700 - sssd client libraries use select() but should use poll() instead
Summary: sssd client libraries use select() but should use poll() instead
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd
Version: 6.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Stephen Gallagher
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 701702
TreeView+ depends on / blocked
 
Reported: 2011-05-03 15:49 UTC by Sumit Bose
Modified: 2015-01-04 23:48 UTC (History)
7 users (show)

Fixed In Version: sssd-1.5.1-34.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 701702 (view as bug list)
Environment:
Last Closed: 2011-05-19 11:39:58 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0560 0 normal SHIPPED_LIVE Low: sssd security, bug fix, and enhancement update 2011-05-19 11:38:17 UTC

Description Sumit Bose 2011-05-03 15:49:11 UTC
Description of problem:
The select() call can only handle files descriptors lesser than 1024 safely. If the sssd nss or pam client is called from an application with many open files it may happen that the file descriptor used by the sssd client is large that 1024 which may case undefined and unexpected behaviour.

Version-Release number of selected component (if applicable):
all

Additional info: 
Upstream ticket https://fedorahosted.org/sssd/ticket/861

Comment 2 Kaushik Banerjee 2011-05-04 12:09:49 UTC
Regression tests have revealed no issues yet using sssd-1.5.1-34.

Steps for further verification:
1. In sssd-1.5.1-33:
# nm -D /lib64/libnss_sss.so.2 | grep -i select
                 U select

2. In sssd-1.5.1-34:
# nm -D /lib64/libnss_sss.so.2 | grep -i select
# 

Verified in version:

# rpm -qi sssd | head
Name        : sssd                         Relocations: (not relocatable)
Version     : 1.5.1                             Vendor: Red Hat, Inc.
Release     : 34.el6                        Build Date: Tue 03 May 2011 10:42:44 PM IST
Install Date: Wed 04 May 2011 01:15:37 PM IST      Build Host: x86-003.build.bos.redhat.com
Group       : Applications/System           Source RPM: sssd-1.5.1-34.el6.src.rpm
Size        : 3464116                          License: GPLv3+
Signature   : (none)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://fedorahosted.org/sssd/
Summary     : System Security Services Daemon

Comment 3 errata-xmlrpc 2011-05-19 11:39:58 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0560.html

Comment 4 errata-xmlrpc 2011-05-19 13:04:04 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0560.html


Note You need to log in before you can comment on or make changes to this bug.