1
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
2119b2eb87

+ 1 - 1
ldap/servers/plugins/passthru/ptpreop.c

@@ -253,7 +253,7 @@ passthru_bindpreop( Slapi_PBlock *pb )
 	 * Send a result to our client.
 	 * Send a result to our client.
 	 */
 	 */
 	if ( resctrls != NULL ) {
 	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 );
 	slapi_send_ldap_result( pb, rc, matcheddn, errmsg, 0, urls );
     }
     }