You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hostap/src
Anusha Datar 8f248d1aca Check for message truncation in RADIUS client
The RADIUS client currently determines if a radius message is longer
than the supported maximum length by checking whether the size of the
received buffer and the length of the buffer (as returned by recv()) is
equal. This method fails to detect if the buffer has actually been
truncated. This change modifies the RADIUS client to instead use the
recvmsg() call and then check the message header flags to determine
whether or not the received message has been truncated and drop the
message if that is the case.

Signed-off-by: Anusha Datar <anusha@meter.com>
Reviewed-by: Steve deRosier <derosier@cal-sierra.com>
Reviewed-by: Julian Squires <julian@cipht.net>
3 years ago
..
ap AP: Check driver's capability to enable OCV when driver SME is used 3 years ago
common Add new attributes in get_sta_info QCA vendor command 3 years ago
crypto wolfSSL: wolfSSL_use_PrivateKey_* correct return codes 3 years ago
drivers AP: Check driver's capability to enable OCV when driver SME is used 3 years ago
eap_common build: Make more library things common 4 years ago
eap_peer EAP-AKA: Check that ID message storing succeeds 3 years ago
eap_server build: Make more library things common 4 years ago
eapol_auth build: Make more library things common 4 years ago
eapol_supp build: Make more library things common 4 years ago
fst FST: Convert Boolean to C99 bool 4 years ago
l2_packet build: Make more library things common 4 years ago
p2p P2P: Add a maximum length limit for peer vendor IEs 3 years ago
pae MACsec: Convert Boolean to C99 bool 4 years ago
radius Check for message truncation in RADIUS client 3 years ago
rsn_supp RSN: Validate RSNXE match in EAPOL-Key msg 3/4 only when RSN is used 3 years ago
tls Fix couple more typos 4 years ago
utils ext_password: Implement new file-based backend 3 years ago
wps WPS: Reconfigure credentials on hostapd config reload 3 years ago
Makefile build: Add a common-clean target 4 years ago
build.rules build: Rebuild libs all the time 4 years ago
lib.rules build: lib.rules: Add common-clean 4 years ago
objs.mk build: Fix dependency file inclusion 4 years ago