commit 0ffb96056a1d766e1599571e520aad40430ba703
parent aba3da32ac847a6d430f917855d30ae34af6cc90
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Fri, 3 Apr 2020 18:45:11 +0200
wsc: Clear the pin copy in wsc_generate_pin
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/wsc.c b/src/wsc.c
@@ -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;
}