mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 06:59:54 -05:00
ITS#5783 / 5795 fix undef_promote
This commit is contained in:
parent
47a57bd6d4
commit
b28aa117ea
1 changed files with 3 additions and 0 deletions
|
|
@ -817,7 +817,10 @@ undef_promote(
|
|||
|
||||
*u_ad = (*u_ad)->ad_next;
|
||||
|
||||
tmp->ad_type = nat;
|
||||
tmp->ad_next = NULL;
|
||||
/* ad_cname was contiguous, no leak here */
|
||||
tmp->ad_cname = nat->sat_cname;
|
||||
*n_ad = tmp;
|
||||
n_ad = &tmp->ad_next;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue