diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-11-05 16:39:19 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-11-10 16:48:17 +0100 |
commit | e02afcff09fb2bd12bbdc8f6c0963f38fa3e0ec4 (patch) | |
tree | 306bb4a55e1c0db2e11aeb94378c618cdf1d88fe | |
parent | 833e126cf8beb7db8ea319606557d0fb963d5f7f (diff) | |
download | NetworkManager-e02afcff09fb2bd12bbdc8f6c0963f38fa3e0ec4.tar.gz |
device: fix a dad6_failed_addrs use-after-free
-rw-r--r-- | src/devices/nm-device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index bc10379890..3d4245ee67 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -7881,6 +7881,7 @@ queued_ip6_config_change (gpointer user_data) nm_rdisc_dad_failed (priv->rdisc, &addr->address); } g_slist_free_full (priv->dad6_failed_addrs, g_free); + priv->dad6_failed_addrs = NULL; /* If no IPv6 link-local address exists but other addresses do then we * must add the LL address to remain conformant with RFC 3513 chapter 2.1 |