mac80211: validate TIM IE length
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 16 Apr 2009 22:54:23 +0000 (00:54 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 17 Apr 2009 19:27:13 +0000 (15:27 -0400)
commit60375541f7c8a577b977d344565259776c3acfc1
tree89be78d18bcc64af22599268e8698d39e87f9192
parentcd1658f592a60d028dd2e48d86724b737a82cab0
mac80211: validate TIM IE length

The TIM IE must not be shorter than 4 bytes, so verify that
when parsing it.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c