diff options
author | Noriko Hosoi <nhosoi@kiki.usersys.redhat.com> | 2009-07-05 14:49:41 -0700 |
---|---|---|
committer | Noriko Hosoi <nhosoi@kiki.usersys.redhat.com> | 2009-07-05 14:49:41 -0700 |
commit | 3116dbec570b65d2d0a1df5bd000f6e63439e8ee (patch) | |
tree | bcf0a54a3364e688e2a8820b9127af485d70104b /ldap/servers/slapd/conntable.c | |
parent | fe97a63dcd53bedf7b06435f32630f419da1be79 (diff) | |
download | ds-3116dbec570b65d2d0a1df5bd000f6e63439e8ee.tar.gz ds-3116dbec570b65d2d0a1df5bd000f6e63439e8ee.tar.xz ds-3116dbec570b65d2d0a1df5bd000f6e63439e8ee.zip |
509269 Simple paged result crashes/hangs the server
1) Commit 281f14adb012a54d8b10c9d51dbce6f5c6f3e549 was based on the wrong
observation and testing. Backing off the change.
2) Search result set is retrieved from pblock and used for simple paged results.
When the search result set is released, the address stashed in pblock should
have been set NULL not to access the address again.
Diffstat (limited to 'ldap/servers/slapd/conntable.c')
-rw-r--r-- | ldap/servers/slapd/conntable.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ldap/servers/slapd/conntable.c b/ldap/servers/slapd/conntable.c index f4b529aa..3a0a86ce 100644 --- a/ldap/servers/slapd/conntable.c +++ b/ldap/servers/slapd/conntable.c @@ -312,9 +312,7 @@ connection_table_move_connection_out_of_active_list(Connection_Table *ct,Connect connection_release_nolock (c); - PR_Lock(c->c_mutex); connection_cleanup (c); - PR_Unlock(c->c_mutex); PR_Unlock(ct->table_mutex); |