fragattacks/src/eap_peer
Shijie Zhang d78d3c6190 EAP peer: Add check before calling getSessionId method
We should not call getSessionID method if it's not provided. This fixes
a regression from commit 950c563076 where
EAP methods that did not implement getSessionId resulted in NULL pointer
dereference when deriving the key.

Signed-off-by: Shijie Zhang <shijiez@qca.qualcomm.com>
2013-04-26 12:30:01 +03:00
..
eap_aka.c EAP peer: Add Session-Id derivation to more EAP methods 2013-02-09 01:20:45 +02:00
eap_config.h EAP-SIM/AKA: Store pseudonym identity in configuration 2012-09-02 13:04:18 +03:00
eap_fast_pac.c EAP-FAST: Allow empty PAC file to be used 2013-01-12 17:33:22 +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_fast.c EAP peer: Add Session-Id derivation 2013-02-09 01:20:38 +02:00
eap_gpsk.c EAP peer: Add Session-Id derivation 2013-02-09 01:20:38 +02:00
eap_gtc.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
eap_i.h EAP peer: Add Session-Id derivation 2013-02-09 01:20:38 +02:00
eap_ikev2.c EAP peer: Add Session-Id derivation 2013-02-09 01:20:38 +02:00
eap_leap.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
eap_md5.c EAP-MD5: Verify that CHAP operation succeeds 2012-08-16 18:49:02 +03:00
eap_methods.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
eap_methods.h Add UNAUTH-TLS vendor specific EAP type 2012-08-22 22:34:11 +03:00
eap_mschapv2.c EXT PW: Add support for password parameter from external storage 2012-08-03 22:15:42 +03:00
eap_otp.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
eap_pax.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
eap_peap.c EAP peer: Add Session-Id derivation 2013-02-09 01:20:38 +02:00
eap_proxy_dummy.c eap_proxy: Add a dummy implementation for compilation testing 2013-02-08 11:54:05 +02:00
eap_proxy.h eap_proxy: Add mechanism for allowing EAP methods to be offloaded 2013-02-08 11:54:01 +02:00
eap_psk.c EAP peer: Add Session-Id derivation to more EAP methods 2013-02-09 01:20:45 +02:00
eap_pwd.c EAP-pwd: Replace direct OpenSSL HMAC use with wrapper 2012-07-02 22:10:03 +03:00
eap_sake.c EAP peer: Add Session-Id derivation to more EAP methods 2013-02-09 01:20:45 +02:00
eap_sim.c EAP peer: Add Session-Id derivation to more EAP methods 2013-02-09 01:20:45 +02:00
eap_tls_common.c EAP peer: Add Session-Id derivation 2013-02-09 01:20:38 +02:00
eap_tls_common.h EAP peer: Add Session-Id derivation 2013-02-09 01:20:38 +02:00
eap_tls.c EAP peer: Add Session-Id derivation 2013-02-09 01:20:38 +02:00
eap_tnc.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
eap_ttls.c EAP peer: Add Session-Id derivation 2013-02-09 01:20:38 +02:00
eap_vendor_test.c Use proper private enterprise number for EAP VENDOR-TEST 2012-08-22 21:37:19 +03:00
eap_wsc.c WPS: Add more helpful debug for invalid WPS_REG command parsing 2013-03-31 12:34:35 +03:00
eap.c EAP peer: Add check before calling getSessionId method 2013-04-26 12:30:01 +03:00
eap.h EAP peer: Add Session-Id derivation 2013-02-09 01:20:38 +02:00
ikev2.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
ikev2.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
Makefile Remove unnecessary SUBDIRS loops from src/*/Makefile 2010-04-17 17:10:31 +03:00
mschapv2.c MSCHAPv2: Check operation success for NT response generation 2012-08-16 18:42:27 +03:00
mschapv2.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tncc.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tncc.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00