wlantest: Fix Beacon and Probe Response frame parser
authorJouni Malinen <j@w1.fi>
Sat, 18 Apr 2015 14:59:30 +0000 (17:59 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 22 Apr 2015 08:44:19 +0000 (11:44 +0300)
commit762a0bfb01b1651c728b6deeda06bf965634e390
treeae95ffebc76dd68c696e5dd69de64aa517ad9898
parent26b3f644285b3cdd0493677a6462ddda5742dede
wlantest: Fix Beacon and Probe Response frame parser

These functions did not verify that the received frame is long enough to
contain the beginning of the variable length IE area. A truncated frame
could have caused a segmentation fault due to reading beyond the buffer.

Signed-off-by: Jouni Malinen <j@w1.fi>
wlantest/rx_mgmt.c