Brian Norris
22c06de911
wlantest: Avoid heap-overflow on unexpected data
...
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.
Signed-off-by: Brian Norris <briannorris@chromium.org>
2020-08-22 12:45:09 +03:00
..
2016-03-14 18:42:46 +02:00
2020-03-16 00:07:20 +02:00
2016-09-23 17:49:33 +03:00
2018-12-17 00:02:14 +02:00
2015-04-25 17:33:06 +03:00
2016-12-28 14:31:42 +02:00
2020-04-05 18:53:59 +03:00
2020-04-05 18:53:59 +03:00
2019-12-27 23:16:45 +02:00
2020-03-14 17:36:41 +02:00
2020-04-04 00:06:59 +03:00
2020-08-22 12:45:09 +03:00
2020-04-05 18:53:59 +03:00
2020-05-24 00:35:56 +03:00
2015-04-22 22:05:11 +03:00
2020-02-28 00:51:07 +02:00
2016-10-09 17:13:23 +03:00
2017-03-07 13:19:10 +02:00
2016-10-09 17:13:23 +03:00
2020-04-05 18:53:59 +03:00
2013-12-26 13:37:06 +02:00
2013-12-26 13:37:06 +02:00
2019-12-27 23:16:45 +02:00
2020-05-24 00:35:53 +03:00
2019-12-27 23:16:45 +02:00