summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2006-02-08 18:59:22 +0000
committerRich Megginson <rmeggins@redhat.com>2006-02-08 18:59:22 +0000
commit2119b2eb87ebe9ab2d8f33317e01e796182013ff (patch)
treeb68de2b0f59db81a6f74eae6f882a1c8985a0d27
parentd5794ea88c04f28e412cf3dec91bfb157c8fe8ad (diff)
Bug(s) fixed: 176302
Bug Description: crash in PTA plugin when bind returned controls Reviewed by: Pete (Thanks!) Fix Description: Fix by Ulf. We are passing the ***LDAPControl when it needs the **LDAPControl. Platforms tested: Fedora Core 4 Flag Day: no Doc impact: no QA impact: should be covered by regular nightly and manual testing New Tests integrated into TET: none
-rw-r--r--ldap/servers/plugins/passthru/ptpreop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/plugins/passthru/ptpreop.c b/ldap/servers/plugins/passthru/ptpreop.c
index 5ab2ae84..df61f9a6 100644
--- a/ldap/servers/plugins/passthru/ptpreop.c
+++ b/ldap/servers/plugins/passthru/ptpreop.c
@@ -253,7 +253,7 @@ passthru_bindpreop( Slapi_PBlock *pb )
* Send a result to our client.
*/
if ( resctrls != NULL ) {
- (void)slapi_pblock_set( pb, SLAPI_RESCONTROLS, &resctrls );
+ (void)slapi_pblock_set( pb, SLAPI_RESCONTROLS, resctrls );
}
slapi_send_ldap_result( pb, rc, matcheddn, errmsg, 0, urls );
}