hostapd/wlantest
Jouni Malinen aa08d9d768 Fix use of defragmented FTE information
The FTE parser itself used valid data, but the reassembled buffer was
available only during the parser run. That buffer will be needed for the
caller as well since most of the parsed data is used as pointers instead
of copied data.

Store the reassembled buffer in struct wpa_ft_ies and require
wpa_ft_parse_ies() callers to use wpa_ft_parse_ies_free() to free any
possibly allocated temporary data after wpa_ft_parse_ies() calls that
return success (0).

Fixes: 43b5f11d96 ("Defragmentation of FTE")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2023-08-28 13:25:05 +03:00
..
.gitignore gitignore: Clean up a bit 2020-10-11 19:32:50 +03:00
bip.c wlantest: Fix bip_protect() memory allocation 2016-03-14 18:42:46 +02:00
bss.c wlantest: Allow specific link BSS to be found with bss_find_mld() 2023-08-25 11:19:24 +03:00
ccmp.c Minor formatting changes to CCMP test vectors 2023-08-11 11:46:37 +03:00
ctrl.c OCV: Add wlantest support for indicating OCV 2018-12-17 00:02:14 +02:00
gcmp.c wlantest: Use AP MLD address in CCMP/GCMP AAD for A3 2023-01-10 12:38:59 +02:00
inject.c wlantest: Use AP MLD address in CCMP/GCMP AAD for A3 2023-01-10 12:38:59 +02:00
Makefile wlantest: Key derivation for SAE-EXT-KEY 2022-10-12 22:33:27 +03:00
monitor.c wlantest: Comment out Linux packet socket from OS X build 2020-04-05 18:53:59 +03:00
process.c Use a less generic name for IEEE802.11 CRC-32 routine 2022-09-16 21:39:47 +03:00
readpcap.c wlantest: Detect and report plaintext payload in protected frames 2020-03-14 17:36:41 +02:00
rx_data.c wlantest: Recognize non-AP MLD based on any link address for decryption 2023-08-10 12:14:31 +03:00
rx_eapol.c wlantest: Guess SAE/OWE group from EAPOL-Key length mismatch 2023-08-11 20:35:34 +03:00
rx_ip.c wlantest: Avoid unaligned iphdr pointers 2021-02-13 23:07:34 +02:00
rx_mgmt.c Fix use of defragmented FTE information 2023-08-28 13:25:05 +03:00
rx_tdls.c Simplify Timeout Interval element parsing 2015-04-22 22:05:11 +03:00
sta.c wlantest: Do not update BSS entries for other AP MLDs in PTK cloning 2023-08-10 12:37:47 +03:00
test_vectors.c Minor formatting changes to CCMP test vectors 2023-08-11 11:46:37 +03:00
tkip.c Use a less generic name for IEEE802.11 CRC-32 routine 2022-09-16 21:39:47 +03:00
wep.c Use a less generic name for IEEE802.11 CRC-32 routine 2022-09-16 21:39:47 +03:00
wired.c wlantest: Use BSD compatible UDP header struct 2020-04-05 18:53:59 +03:00
wlantest.c wlantest: Support multiple input files 2023-08-08 11:00:42 +03:00
wlantest.h wlantest: Allow specific link BSS to be found with bss_find_mld() 2023-08-25 11:19:24 +03:00
wlantest_cli.c wlantest: Replace the duplicate functions with reuse of cli.h 2021-12-11 21:50:41 +02:00
wlantest_ctrl.h wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
writepcap.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00