commit | e9c8f8d3a4d54106a30f2b981b53d658c9bc0c8e | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue Sep 13 16:37:40 2016 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Sep 13 20:20:53 2016 +0200 |
tree | 0df9a19b7ed74f0bd7a4fd3d1386d7fdeab184b1 | |
parent | 9381e267b69acfea96c8429dc99da3e78835cef1 [diff] |
cfg80211: validate key index better Don't accept it if a key_idx < 0 snuck through, reject WEP keys with key index 4 and 5 (which are used for IGTKs) and don't allow IGTKs with key indices other than 4 and 5. This makes the key data match expectations better. Signed-off-by: Johannes Berg <johannes.berg@intel.com>