mirror of
https://github.com/espressif/esp32-wifi-lib.git
synced 2026-06-06 05:25:14 +00:00
cfea48c4e8
When wpa_supplicant sends an authentication response for an already connection station (with keys installed after a successful 4-way handshake), the Mgmt packet was encrypted unconditionaly based on 'bss->pmf_enable'. This lead to memory corruption since extra space for the encryption header was assumed even when it was not there. Fix this by verifying that the packet is actually a robust management frame before enabling the encryption.
52 KiB
52 KiB