mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 18:20:07 +01:00
supplicant: fix crash passing invalid parameter to AddBlob when adding network
The DBUS method 'AddBlob' expects a data argument of type 'ay'.
Instead we passed the hash table 'blobs'.
This must be broken for a long time and surprisingly stayed unnoticed.
https://mail.gnome.org/archives/networkmanager-list/2014-July/msg00001.html
Fixes: fb6cde508c
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
0ce2d2618c
commit
e343c45ebb
1 changed files with 1 additions and 1 deletions
|
|
@ -1081,7 +1081,7 @@ add_network_cb (DBusGProxy *proxy, DBusGProxyCall *call_id, gpointer user_data)
|
|||
self,
|
||||
NULL,
|
||||
DBUS_TYPE_STRING, name,
|
||||
DBUS_TYPE_G_UCHAR_ARRAY, blobs,
|
||||
DBUS_TYPE_G_UCHAR_ARRAY, data,
|
||||
G_TYPE_INVALID);
|
||||
nm_call_store_add (priv->assoc_pcalls, priv->iface_proxy, call);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue