[PATCH] wlantest: avoid heap-overflow on unexpected data

Jouni Malinen j at w1.fi
Sat Aug 22 10:06:09 EDT 2020


On Wed, Aug 19, 2020 at 12:44:46PM -0700, Brian Norris wrote:
> We're doing a sort of bounds check, based on the previous loop, but only
> after we've already tried to read off the end.
> 
> This squashes some ASAN errors I'm seeing when running the ap_ft hwsim
> test module.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list