mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-02 07:17:57 +02:00
ifcfg: fix crash parsing more than 10 DNS settings in make_ip6_setting()
On master, commit [1] added a double-free error. This was unintentionally fixed later in commit [2]. Commit [1] was backported to nm-1-10 branch in 1.10.10. Fix it. [1]a9b5079324, 1.11.2-dev [2]e9321713a9, 1.12-rc1 https://bugzilla.redhat.com/show_bug.cgi?id=1607866 Fixes:b2a9e2f326
This commit is contained in:
parent
5afec82a5c
commit
cca492af14
1 changed files with 1 additions and 1 deletions
|
|
@ -1933,7 +1933,7 @@ make_ip6_setting (shvarFile *ifcfg,
|
|||
goto error;
|
||||
}
|
||||
|
||||
g_free (value);
|
||||
nm_clear_g_free (&value);
|
||||
}
|
||||
|
||||
if (!routes_read) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue