mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
wsc: Clear the pin copy in wsc_generate_pin
This commit is contained in:
parent
aba3da32ac
commit
0ffb96056a
@ -1137,6 +1137,7 @@ static struct l_dbus_message *wsc_generate_pin(struct l_dbus *dbus,
|
|||||||
|
|
||||||
reply = l_dbus_message_new_method_return(message);
|
reply = l_dbus_message_new_method_return(message);
|
||||||
l_dbus_message_set_arguments(reply, "s", pin);
|
l_dbus_message_set_arguments(reply, "s", pin);
|
||||||
|
explicit_bzero(pin, 9);
|
||||||
|
|
||||||
return reply;
|
return reply;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user