hostap/src/radius
Masashi Honma 1e653daa31 EAP-pwd server: Fix memory leak with salted passwords
The struct hostapd_eap_user changes with a new allocated variable were
not covered in the RADIUS server code. Fix this by using eap_user_free()
instead of custom memory freeing operation in radius_server.c.

The hwsim tests with salted password (ap_wpa2_eap_pwd_salt_sha1,
ap_wpa2_eap_pwd_salt_sha256, ap_wpa2_eap_pwd_salt_sha512) triggered
these memory leaks.

Fixes: d52ead3db7 ("EAP-pwd server: Add support for salted password databases")
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2019-03-08 16:59:27 +02:00
..
.gitignore Add build rules for src/radius/libradius.a 2009-12-24 11:59:08 +02:00
Makefile tests: Add ap-mgmt-fuzzer 2015-04-22 11:44:19 +03:00
radius.c RADIUS: Add WLAN-Reason-Code attribute to Access-Reject 2018-01-12 20:45:12 +02:00
radius.h HS 2.0: Move Terms and Conditions Server URL generation from AP to AS 2018-06-21 20:50:54 +03:00
radius_client.c RADIUS client: Cease endless retry for message for multiple servers 2019-01-07 23:38:18 +02:00
radius_client.h RADIUS: Update full message for interim accounting updates 2016-02-29 11:52:16 +02:00
radius_das.c RADIUS: Allow 0.0.0.0 to be used as wildard radius_das_client 2018-06-22 19:37:18 +03:00
radius_das.h HS 2.0: CoA-Request processing for Terms and Conditions filtering 2018-04-25 12:57:46 +03:00
radius_server.c EAP-pwd server: Fix memory leak with salted passwords 2019-03-08 16:59:27 +02:00
radius_server.h HS 2.0 server: RADIUS server support for SIM provisioning 2018-12-15 18:01:38 +02:00