mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 13:38:43 +02: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:fb6cde508cSigned-off-by: Thomas Haller <thaller@redhat.com> (cherry picked from commite343c45ebb)
This commit is contained in:
parent
cf145b2c26
commit
a24ad8b03c
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,
|
self,
|
||||||
NULL,
|
NULL,
|
||||||
DBUS_TYPE_STRING, name,
|
DBUS_TYPE_STRING, name,
|
||||||
DBUS_TYPE_G_UCHAR_ARRAY, blobs,
|
DBUS_TYPE_G_UCHAR_ARRAY, data,
|
||||||
G_TYPE_INVALID);
|
G_TYPE_INVALID);
|
||||||
nm_call_store_add (priv->assoc_pcalls, priv->iface_proxy, call);
|
nm_call_store_add (priv->assoc_pcalls, priv->iface_proxy, call);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue