Skip to content
Snippets Groups Projects
Commit b28aa117 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#5783 / 5795 fix undef_promote

parent 47a57bd6
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment