diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-10-18 09:47:29 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-08 15:53:58 -0500 |
commit | ec3cbb9ce241da90b9d43e49996fae5082c6b6f7 (patch) | |
tree | a3f8740257c83acae7f47d35523aae803cebb0eb /lib/dump_stack.c | |
parent | 48ef5c427ac2cfd12c150b38263d3ebb0d989647 (diff) |
rndis_wlan: add range check in del_key()
Wifi drivers can have up to 6 keys but the rndis_wlan only has 4 so
it needs to have its own checks to make sure we don't go out of
bounds. The add_key() function already checks but I added some
checks to del_key() and set_default_key().
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions