fragattacks/src
Jouni Malinen 5a55c9b411 Fix MSCHAP UTF-8 to UCS-2 conversion check for three-byte encoding
The utf8_string_len comparison was off by one and ended up accepting a
truncated three-byte encoded UTF-8 character at the end of the string if
the octet was missing. Since the password string gets null terminated in
the configuration, this did not result in reading beyond the buffer, but
anyway, it is better to explicitly reject the string rather than try to
use an incorrectly encoded UTF-8 string as the password.

Signed-off-by: Jouni Malinen <j@w1.fi>
2015-10-10 18:38:37 +03:00
..
ap Interworking: Add support for configuring arbitrary ANQP-elements 2015-10-07 17:07:21 +03:00
common Interworking: Define new ANQP-element Info IDs 2015-10-07 17:07:21 +03:00
crypto Fix MSCHAP UTF-8 to UCS-2 conversion check for three-byte encoding 2015-10-10 18:38:37 +03:00
drivers Sync with mac80211-next.git include/uapi/linux/nl80211.h 2015-10-06 23:10:17 +03:00
eap_common EAP-SAKE: Make attribute parser more readable 2015-05-03 16:32:50 +03:00
eap_peer EAP-WSC peer: Reject connection on unexpected failure 2015-08-30 18:37:44 +03:00
eap_server EAP-TLS server: Add support for session resumption 2015-08-24 18:01:40 +03:00
eapol_auth EAPOL auth: clear keyRun in AUTH_PAE INITIALIZE 2015-08-28 16:30:06 +03:00
eapol_supp Add build option to remove all internal RC4 uses 2015-08-02 16:52:56 +03:00
fst FST: Mark fst_ies buffer const 2015-08-03 17:40:30 +03:00
l2_packet tests: Add eapol-fuzzer 2015-04-22 11:44:19 +03:00
p2p P2PS: Add validation for P2PS PD Request 2015-10-07 17:07:22 +03:00
pae MACsec: Update protect frames and replay on reauthentication 2014-12-09 16:56:10 +02:00
radius hostapd: Force RADIUS socket renewal on RADIUS auth failures 2015-10-06 01:27:29 +03:00
rsn_supp Fix TK configuration to the driver in EAPOL-Key 3/4 retry case 2015-10-01 18:54:54 +03:00
tls Rename tls_connection_get_keys() to tls_connection_get_random() 2015-08-02 16:52:56 +03:00
utils HTTP (curl): Fix compilation with BoringSSL 2015-10-10 00:06:14 +03:00
wps WPS: Mark web_connection_parse_get() argument filename const 2015-10-03 16:26:10 +03:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00