aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDan Carpenter2011-10-18 09:50:43 +0300
committerJohn W. Linville2011-11-08 15:53:59 -0500
commit5a5ee76e09b1f5a3a550127aecc2ea4d59f17963 (patch)
tree66e9d4a71f6b22cc488260f28444fc197d6ff751 /net
parentec3cbb9ce241da90b9d43e49996fae5082c6b6f7 (diff)
iwmc3200wifi: add some more range checks
My previous patch added a check to get_key() but missed a couple other places which need range checks. The problem here is that wifi drivers have different numbers of keys. The lower levels assume that they can have up to 4 default keys and 2 management keys but this driver only has the default keys so we could go past the end of the ->keys[] array. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions