hostap/wlantest
Brian Norris 1e537a2756 wlantest: Avoid unaligned iphdr pointers
Buffers passed to rx_data_ip() may not be naturally-aligned, and so we
get unpredictable behavior when we cast that to an IP header. In
particular, this code may crash on ARM.

Signed-off-by: Brian Norris <briannorris@chromium.org>
2021-02-13 23:07:34 +02:00
..
.gitignore gitignore: Clean up a bit 2020-10-11 19:32:50 +03:00
Makefile wlantest: Include PASN into build 2021-01-25 18:35:50 +02:00
bip.c wlantest: Fix bip_protect() memory allocation 2016-03-14 18:42:46 +02:00
bss.c wlantest: Add new key_mgmt and rsn_capab values for BSS/STA debug prints 2021-02-07 13:57:03 +02:00
ccmp.c IEEE P802.11ah/D10.0 PV1 CCMP test vectors 2016-09-23 17:49:33 +03:00
ctrl.c OCV: Add wlantest support for indicating OCV 2018-12-17 00:02:14 +02:00
gcmp.c Declare all read only data structures as const 2015-04-25 17:33:06 +03:00
inject.c wlantest: Process Action No Ack frames like Action frames 2021-02-07 12:00:12 +02:00
monitor.c wlantest: Comment out Linux packet socket from OS X build 2020-04-05 18:53:59 +03:00
process.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00
readpcap.c wlantest: Detect and report plaintext payload in protected frames 2020-03-14 17:36:41 +02:00
rx_data.c wlantest: Support TK list for Management frame decryption 2021-02-07 11:37:58 +02:00
rx_eapol.c FT: Extend the wpa_pmk_r1_to_ptk() function to also derive KDK 2021-01-25 18:36:40 +02:00
rx_ip.c wlantest: Avoid unaligned iphdr pointers 2021-02-13 23:07:34 +02:00
rx_mgmt.c wlantest: Add more details about protected FTM frames 2021-02-07 13:11:34 +02:00
rx_tdls.c Simplify Timeout Interval element parsing 2015-04-22 22:05:11 +03:00
sta.c wlantest: Add new key_mgmt and rsn_capab values for BSS/STA debug prints 2021-02-07 13:57:03 +02:00
test_vectors.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
tkip.c Use os_memdup() 2017-03-07 13:19:10 +02:00
wep.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
wired.c wlantest: Use BSD compatible UDP header struct 2020-04-05 18:53:59 +03:00
wlantest.c wlantest: Support TK list for Management frame decryption 2021-02-07 11:37:58 +02:00
wlantest.h wlantest: Support TK list for Management frame decryption 2021-02-07 11:37:58 +02:00
wlantest_cli.c wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +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