mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 15:19:34 -05:00
ITS#6035 Plug olcAuthIDRewrite cn=config leak
This commit is contained in:
parent
4697f4b3e0
commit
f3ed13fad2
1 changed files with 2 additions and 1 deletions
|
|
@ -1423,8 +1423,9 @@ int slap_sasl_rewrite_delete( int valx ) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i = valx;
|
||||||
ber_memfree( authz_rewrites[ i ].bv_val );
|
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 ];
|
authz_rewrites[ i ] = authz_rewrites[ i + 1 ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue