mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 02:40:17 +01:00
dns: fix accessing NULL domains.reverse array in rebuild_domain_lists()
Fixes: fbf1683c1a ('dns: more debug logging for DNS settings in rebuild_domain_lists()')
This commit is contained in:
parent
6802eb9af6
commit
937c8a4669
1 changed files with 2 additions and 1 deletions
|
|
@ -1571,7 +1571,8 @@ rebuild_domain_lists(NMDnsManager *self)
|
|||
? " (explicit)"
|
||||
: (ip_data->domains.has_default_route_exclusive ? " (exclusive)" : ""),
|
||||
(str1 = g_strjoinv(",", (char **) ip_data->domains.search)),
|
||||
(str2 = g_strjoinv(",", ip_data->domains.reverse)));
|
||||
(ip_data->domains.reverse ? (str2 = g_strjoinv(",", ip_data->domains.reverse))
|
||||
: ""));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue