mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 11:39:34 -05:00
address ITS#4023
This commit is contained in:
parent
b79d4bdce5
commit
f8d49b01be
1 changed files with 7 additions and 0 deletions
|
|
@ -204,6 +204,13 @@ rewrite_session_var_set_f(
|
|||
session = rewrite_session_find( info, cookie );
|
||||
if ( session == NULL ) {
|
||||
session = rewrite_session_init( info, cookie );
|
||||
if ( session == NULL ) {
|
||||
return REWRITE_ERR;
|
||||
}
|
||||
|
||||
#ifdef USE_REWRITE_LDAP_PVT_THREADS
|
||||
ldap_pvt_thread_mutex_lock( &session->ls_mutex );
|
||||
#endif /* USE_REWRITE_LDAP_PVT_THREADS */
|
||||
}
|
||||
|
||||
#ifdef USE_REWRITE_LDAP_PVT_THREADS
|
||||
|
|
|
|||
Loading…
Reference in a new issue