]>
Commit | Line | Data |
---|---|---|
679d5399 JP |
1 | From b5afe5a862fc2854cc7c71db8c07dc80ca663fd9 Mon Sep 17 00:00:00 2001 |
2 | From: Jan Palus <jpalus@fastmail.com> | |
3 | Date: Sat, 20 Feb 2021 14:32:35 +0100 | |
4 | Subject: [PATCH] iwd: terminate interface_order array with NULL | |
5 | ||
6 | fixes segfault with iwd backend after upgrade to NetworkManager 1.30.0 | |
7 | ||
8 | Signed-off-by: Jan Palus <jpalus@fastmail.com> | |
9 | --- | |
10 | src/core/devices/wifi/nm-iwd-manager.c | 1 + | |
11 | 1 file changed, 1 insertion(+) | |
12 | ||
13 | diff --git a/src/core/devices/wifi/nm-iwd-manager.c b/src/core/devices/wifi/nm-iwd-manager.c | |
14 | index b0b208ac5..12d9b37d2 100644 | |
15 | --- a/src/core/devices/wifi/nm-iwd-manager.c | |
16 | +++ b/src/core/devices/wifi/nm-iwd-manager.c | |
17 | @@ -1119,6 +1119,7 @@ object_compare_interfaces(gconstpointer a, gconstpointer b) | |
18 | NM_IWD_KNOWN_NETWORK_INTERFACE, | |
19 | NM_IWD_NETWORK_INTERFACE, | |
20 | NM_IWD_DEVICE_INTERFACE, | |
21 | + NULL | |
22 | }; | |
23 | int rank_a = G_N_ELEMENTS(interface_order); | |
24 | int rank_b = G_N_ELEMENTS(interface_order); | |
25 | -- | |
26 | 2.30.1 | |
27 |