hostap/src/eap_peer
Nishant Chaprana 391d922bcf EAP-pwd peer: Fix memory leak in eap_pwd_perform_confirm_exchange()
hash variable is allocated memory using eap_pwd_h_init(), but there are
couple of error case code paths which skips deallocation of hash. The
memory of hash is deallocated using eap_pwd_h_final(). Fix this by
calling eap_pwd_h_final() at the end of the function if execution got
there through one of those error cases.

Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2018-10-16 12:11:32 +03:00
..
eap.c eap_proxy: Fix memory leaks when using eap_peer_erp_init() 2018-09-21 21:34:08 +03:00
eap.h Propagate the EAP method error code 2018-03-31 11:57:33 +03:00
eap_aka.c Propagate the EAP method error code 2018-03-31 11:57:33 +03:00
eap_config.h EAP-SIM/AKA: Separate identity for MK derivation 2018-01-21 11:28:53 +02:00
eap_eke.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_fast.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_fast_pac.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_fast_pac.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
eap_gpsk.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_gtc.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_i.h Propagate the EAP method error code 2018-03-31 11:57:33 +03:00
eap_ikev2.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_leap.c EAP-LEAP: Fix possible memory leak in eap_leap_process_request() 2017-07-08 16:14:03 +03:00
eap_md5.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_methods.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_methods.h EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_mschapv2.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_otp.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_pax.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_peap.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_proxy.h eap_proxy: Support multiple SIMs in get_imsi() 2017-06-06 03:42:32 +03:00
eap_proxy_dummy.c eap_proxy: Support multiple SIMs in get_imsi() 2017-06-06 03:42:32 +03:00
eap_psk.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_pwd.c EAP-pwd peer: Fix memory leak in eap_pwd_perform_confirm_exchange() 2018-10-16 12:11:32 +03:00
eap_sake.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_sim.c Propagate the EAP method error code 2018-03-31 11:57:33 +03:00
eap_tls.c EAP-TLS: Update key derivation label per draft-ietf-emu-eap-tls13-00 2018-06-01 17:41:59 +03:00
eap_tls_common.c EAP-TLS: Derive Session-Id using TLS-Exporter when TLS v1.3 is used 2018-06-01 17:58:56 +03:00
eap_tls_common.h EAP-TLS peer: Determine whether TLS v1.3 or newer is used 2018-05-01 17:45:37 +03:00
eap_tnc.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_ttls.c EAP-TTLS: Fix a memory leak on error paths 2017-07-08 16:21:38 +03:00
eap_vendor_test.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_wsc.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
ikev2.c Use os_memdup() 2017-03-07 13:19:10 +02:00
ikev2.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
Makefile tests: Add eapol-fuzzer 2015-04-22 11:44:19 +03:00
mschapv2.c EAP-MSCHAPv2: Use os_memcmp_const() for hash/password comparisons 2014-07-02 12:38:48 +03:00
mschapv2.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tncc.c Use os_memdup() 2017-03-07 13:19:10 +02:00
tncc.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00