]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Make sure go_dev_addr is initialized
authorJouni Malinen <j@w1.fi>
Sun, 23 Feb 2025 09:53:36 +0000 (11:53 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 23 Feb 2025 09:53:36 +0000 (11:53 +0200)
commit741d23c3ce711de65d4bb55ff5c9adf3e98eb9b7
tree11077ee63baf467e6baba8b5638c626d3058bf1e
parent12cd887c4432a0c12c42cb27a86c0ab5fee0b1e9
P2P: Make sure go_dev_addr is initialized

wpas_p2p_persistent_group() does not set go_dev_addr if the group is no
persistent. Initialize go_dev_addr explicitly to all zeroes before that
call to make sure it cannot be uninitialized here.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/p2p_supplicant.c