mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 05:20:08 +01:00
iwd: terminate interface_order array with NULL
fixes segfault with iwd backend after upgrade to NetworkManager 1.30.0
Signed-off-by: Jan Palus <jpalus@fastmail.com>
Fixes: 43fd93d8f4 ('iwd: Order objects from g_dbus_object_manager_get_objects')
This commit is contained in:
parent
1e81827e6f
commit
2e0752b1bf
1 changed files with 1 additions and 0 deletions
|
|
@ -1119,6 +1119,7 @@ object_compare_interfaces(gconstpointer a, gconstpointer b)
|
|||
NM_IWD_KNOWN_NETWORK_INTERFACE,
|
||||
NM_IWD_NETWORK_INTERFACE,
|
||||
NM_IWD_DEVICE_INTERFACE,
|
||||
NULL,
|
||||
};
|
||||
int rank_a = G_N_ELEMENTS(interface_order);
|
||||
int rank_b = G_N_ELEMENTS(interface_order);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue