mirror of
https://github.com/espressif/esp32-wifi-lib.git
synced 2026-10-01 22:47:25 +00:00
fix(wifi): Fix memory corruption by avoiding unncessary encryption (7caaffa9)
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.
This commit is contained in:
committed by
Nachiket Kukade
parent
f81d2dc829
commit
cfea48c4e8
Binary file not shown.
Reference in New Issue
Block a user