OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Software Bugs/7476
Full headers

From: codehero@gmail.com
Subject: patch for ldap_pvt_connect
Compose comment
Download message
State:
0 replies:
1 followups: 1

Major security issue: yes  no

Notes:

Notification:


Date: Wed, 19 Dec 2012 08:10:51 +0000
From: codehero@gmail.com
To: openldap-its@OpenLDAP.org
Subject: patch for ldap_pvt_connect
Full_Name: David Bender
Version: 2.4.32
OS: Linux
URL: 
Submission from: (NULL) (96.236.148.85)


ldap_pvt_connect() in libldap/os-ip.c fails intermittently when the calling
program also runs child processes. The connect() call fails with EINTR, but no
effort is made to retry the connect(). The following patches add support for
retrying in this case, as well as toggling the behaviour with LDAP_OPT_RESTART.


Patches are available and should be applied in this order (applied to current
HEAD):

https://github.com/benegon/openldap/commit/8e4fee39bfccaa3dd15179fb6451d39770479ce5.patch
https://github.com/benegon/openldap/commit/991941e3b51fea44d5f123f24a0f32062b2358a8.patch

Followup 1

Download message
Date: Wed, 09 Jan 2013 09:13:31 -0800
From: Howard Chu <hyc@symas.com>
To: codehero@gmail.com, openldap-its@openldap.org
Subject: Re: (ITS#7476) patch for ldap_pvt_connect
codehero@gmail.com wrote:
> Full_Name: David Bender
> Version: 2.4.32
> OS: Linux
> URL:
> Submission from: (NULL) (96.236.148.85)
>
>
> ldap_pvt_connect() in libldap/os-ip.c fails intermittently when the calling
> program also runs child processes. The connect() call fails with EINTR, but
no
> effort is made to retry the connect(). The following patches add support
for
> retrying in this case, as well as toggling the behaviour with
LDAP_OPT_RESTART.
>
>
> Patches are available and should be applied in this order (applied to
current
> HEAD):
>
> https://github.com/benegon/openldap/commit/8e4fee39bfccaa3dd15179fb6451d39770479ce5.patch
> https://github.com/benegon/openldap/commit/991941e3b51fea44d5f123f24a0f32062b2358a8.patch

Thanks for the patches, now in master.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/


Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org