mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 22:50:51 -05:00
Fix mutex deadlock obtaining msgid
This commit is contained in:
parent
8a55795fbe
commit
75af144930
1 changed files with 6 additions and 1 deletions
|
|
@ -186,7 +186,12 @@ do_abandon(
|
|||
ld->ld_errno = LDAP_NO_MEMORY;
|
||||
|
||||
} else {
|
||||
LDAP_NEXT_MSGID(ld, i);
|
||||
/*
|
||||
* We already have the mutex in LDAP_R_COMPILE, so
|
||||
* don't try to get it again.
|
||||
* LDAP_NEXT_MSGID(ld, i);
|
||||
*/
|
||||
i = ++(ld)->ld_msgid;
|
||||
#ifdef LDAP_CONNECTIONLESS
|
||||
if ( LDAP_IS_UDP(ld) ) {
|
||||
err = ber_write( ber, ld->ld_options.ldo_peer,
|
||||
|
|
|
|||
Loading…
Reference in a new issue