mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-20 04:50:43 +02:00
manager: fix very bad usage of 'nm_utils_user_data_unpack'
This results in the args of 'nm_utils_user_data_unpack'
containing random data potentially also from the
previous stack-frame which is really really bad.
Signed-off-by: Antonio Cardace <acardace@redhat.com>
Fixes: b50702775f ('device: implement auth-request as async operation nm_manager_device_auth_request()')
This commit is contained in:
parent
6e44842dc6
commit
b6a18e0593
1 changed files with 2 additions and 1 deletions
|
|
@ -2445,7 +2445,8 @@ _device_auth_done_fail_on_idle(gpointer user_data, GCancellable *cancellable)
|
|||
NMManagerDeviceAuthRequestFunc callback;
|
||||
gpointer callback_user_data;
|
||||
|
||||
nm_utils_user_data_unpack(&self,
|
||||
nm_utils_user_data_unpack(user_data,
|
||||
&self,
|
||||
&device,
|
||||
&context,
|
||||
&subject,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue