Avoid misaligned IPv4 header accesses in DATA_TEST_* commands
authorJouni Malinen <j@w1.fi>
Tue, 7 Jul 2015 13:01:46 +0000 (16:01 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jul 2015 13:25:06 +0000 (16:25 +0300)
commit75352270fa2e901bbdc181b27ea029430af379dc
treed7f85710dc628f8a6f0b911984e5cf0cea80ef97
parent476a634d601821c05b4eb7a84f4cf3c65740212d
Avoid misaligned IPv4 header accesses in DATA_TEST_* commands

The IPv4 header after the Ethernet header is not 32-bit aligned and the
previous version ended up accessing 32-bit members at misaligned
addresses.

Signed-off-by: Jouni Malinen <j@w1.fi>
hostapd/ctrl_iface.c
wpa_supplicant/ctrl_iface.c