3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

wsc: Clear the pin copy in wsc_generate_pin

This commit is contained in:
Andrew Zaborowski 2020-04-03 18:45:11 +02:00 committed by Denis Kenzior
parent aba3da32ac
commit 0ffb96056a

View File

@ -1137,6 +1137,7 @@ static struct l_dbus_message *wsc_generate_pin(struct l_dbus *dbus,
reply = l_dbus_message_new_method_return(message);
l_dbus_message_set_arguments(reply, "s", pin);
explicit_bzero(pin, 9);
return reply;
}