mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-02 06:10:33 +01:00
supplicant: fix memory corruption with wrong argument to NM_SUPPLICANT_INTERFACE_GROUP_FORMATION_FAILURE signal
The signal is unused (and should be removed). Still, the parameter passed to g_signal_emit() is a C string, not a GVariant. I think as there are no subscribers, glib wouldn't actually do anything with the arguments. Though, I am not sure whether glib still tries to initialize a GValue with a GVariant type, leading to a crash. Fixes:f05b7a78c9('supplicant: Track P2P Group information, creation and destruction') (cherry picked from commitc106008091) (cherry picked from commit26d6ac5385) (cherry picked from commitdc9322c0a9)
This commit is contained in:
parent
605262e4d7
commit
57e2f76f57
1 changed files with 1 additions and 1 deletions
|
|
@ -2981,5 +2981,5 @@ nm_supplicant_interface_class_init (NMSupplicantInterfaceClass *klass)
|
|||
G_SIGNAL_RUN_LAST,
|
||||
0,
|
||||
NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 1, G_TYPE_VARIANT);
|
||||
G_TYPE_NONE, 1, G_TYPE_STRING);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue