mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
ITS#6035 Plug olcAuthIDRewrite cn=config leak
This commit is contained in:
parent
4697f4b3e0
commit
f3ed13fad2
@ -1423,8 +1423,9 @@ int slap_sasl_rewrite_delete( int valx ) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
i = valx;
|
||||
ber_memfree( authz_rewrites[ i ].bv_val );
|
||||
for ( i = valx; !BER_BVISNULL( &authz_rewrites[ i + 1 ] ); i++ )
|
||||
for ( ; !BER_BVISNULL( &authz_rewrites[ i + 1 ] ); i++ )
|
||||
{
|
||||
authz_rewrites[ i ] = authz_rewrites[ i + 1 ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user