mac80211: check pairwise key_idx on get_key call
authorMax Stepanov <Max.Stepanov@intel.com>
Sun, 8 Dec 2013 11:30:52 +0000 (13:30 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 14:10:10 +0000 (15:10 +0100)
commit354e159d8c9970969873d66a789d3ac4528c44ff
treee4952fce57368a9dbc3b56861643d8d091b7a0f7
parentdddd586bee9325e890a671f8e24ae39418338295
mac80211: check pairwise key_idx on get_key call

Verify that a pairwise key index value on ieee80211_get_key call
doesn't exceed the boundaries of the pairwise key array.

Signed-off-by: Max Stepanov <Max.Stepanov@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c