mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
handle the null lud_dn case...
This commit is contained in:
parent
6b035aac3e
commit
6076695eb8
@ -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 New Issue
Block a user