]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpa_supplicant: Validate RRM request frame format
authorAvraham Stern <avraham.stern@intel.com>
Wed, 28 Dec 2016 13:06:35 +0000 (15:06 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 3 Jan 2017 13:18:29 +0000 (15:18 +0200)
commit332bf5d3fca9da5b76028f8339d8a91f8abfbbfb
tree813158f0b7876ad8d070881ab9e9ded457659556
parentec493469f6588f814972a531f65e0a3486cc49cc
wpa_supplicant: Validate RRM request frame format

RRM request frame should contain only information elements of type Radio
Measurement Request. Go through all the frame and validate that only
elements of this type are included.

In addition, if a truncated element is encountered, or the element
length field indicates that the element length is more than the
entire frame, abort the request.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
wpa_supplicant/rrm.c