mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
handle the null lud_dn case...
This commit is contained in:
parent
6b035aac3e
commit
6076695eb8
2 changed files with 6 additions and 3 deletions
|
|
@ -585,7 +585,8 @@ ldap_back_referral_result_rewrite(
|
|||
last--;
|
||||
|
||||
for ( i = 0; !BER_BVISNULL( &a_vals[ i ] ); i++ ) {
|
||||
struct berval dn, olddn;
|
||||
struct berval dn,
|
||||
olddn = BER_BVNULL;
|
||||
int rc;
|
||||
LDAPURLDesc *ludp;
|
||||
|
||||
|
|
|
|||
|
|
@ -807,7 +807,8 @@ rwm_referral_rewrite(
|
|||
}
|
||||
|
||||
for ( i = 0; !BER_BVISNULL( &a_vals[i] ); i++ ) {
|
||||
struct berval olddn, oldval;
|
||||
struct berval olddn = BER_BVNULL,
|
||||
oldval;
|
||||
int rc;
|
||||
LDAPURLDesc *ludp;
|
||||
|
||||
|
|
@ -1059,7 +1060,8 @@ rwm_referral_result_rewrite(
|
|||
last--;
|
||||
|
||||
for ( i = 0; !BER_BVISNULL( &a_vals[i] ); i++ ) {
|
||||
struct berval dn, olddn;
|
||||
struct berval dn,
|
||||
olddn = BER_BVNULL;
|
||||
int rc;
|
||||
LDAPURLDesc *ludp;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue