[PATCH] wlantest: avoid unaligned iphdr pointers

Jouni Malinen j at w1.fi
Sat Feb 13 17:53:04 EST 2021


On Fri, Feb 12, 2021 at 07:03:35PM -0800, Brian Norris wrote:
> 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.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list