]> git.ipfire.org Git - thirdparty/hostap.git/commit
FILS: Fix memory leak if AES-SIV encryption fails
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 22 Jan 2026 15:21:48 +0000 (16:21 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 24 Jan 2026 17:02:53 +0000 (19:02 +0200)
commitf3d80342129c2e131fb1300a79ff9912286af424
tree93034314a3c3355baa97c8ee912a93086fe78025
parent3e6ecccef2fc73150178046732c975039a592b1b
FILS: Fix memory leak if AES-SIV encryption fails

The dynamically allocated header was not free'ed in the error path. Add
the appropriate os_free call.

Fixes: b729fd8df9f6 ("FILS: Use AEAD cipher to protect EAPOL-Key frames (AP)")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
src/ap/wpa_auth.c