Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
5570c977
Commit
5570c977
authored
Aug 18, 2006
by
Pierangelo Masarati
Browse files
re-fix ITS#4405 (really start from the first conn)
parent
f11560b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
5570c977
OpenLDAP 2.3 Change Log
OpenLDAP 2.3.27 Engineering
Fixed libldap dangling pointer issue (previous fix was broken) (ITS#4405)
OpenLDAP 2.3.26 Release
Fixed libldap dnssrv bug with "not present" positive statement (ITS#4610)
...
...
libraries/libldap/result.c
View file @
5570c977
...
...
@@ -333,8 +333,7 @@ wait4msg(
ldap_pvt_thread_mutex_lock
(
&
ld
->
ld_conn_mutex
);
#endif
for
(
lc
=
ld
->
ld_conns
;
rc
==
LDAP_MSG_X_KEEP_LOOKING
&&
lc
!=
NULL
;
lc
=
lc
->
lconn_next
)
rc
==
LDAP_MSG_X_KEEP_LOOKING
&&
lc
!=
NULL
;
)
{
if
(
lc
->
lconn_status
==
LDAP_CONNST_CONNECTED
&&
ldap_is_read_ready
(
ld
,
lc
->
lconn_sb
))
...
...
@@ -353,8 +352,14 @@ wait4msg(
* sane; better restart
* (ITS#4405) */
lc
=
ld
->
ld_conns
;
/* don't get to next conn! */
break
;
}
}
/* next conn */
lc
=
lc
->
lconn_next
;
}
#ifdef LDAP_R_COMPILE
ldap_pvt_thread_mutex_unlock
(
&
ld
->
ld_conn_mutex
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment