瀏覽代碼

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

Rich Megginson 20 年之前
父節點
當前提交
2119b2eb87
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ldap/servers/plugins/passthru/ptpreop.c

+ 1 - 1
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 );
     }