diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-04-07 09:31:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-25 15:45:24 -0700 |
commit | 9dbd79aeb9842144d9a114a979a12c0949ee11eb (patch) | |
tree | 450434ee515544a031911342caa5598268d62325 /drivers/staging/rtl8192e | |
parent | a8d0df262cd58ff2eff4461be8ab9a79d2d7f440 (diff) |
Staging: rtl8188eu: overflow in update_sta_support_rate()
The ->SupportedRates[] array has NDIS_802_11_LENGTH_RATES_EX (16)
elements. Since "ie_len" comes from then network and can go up to 255
then it means we should add a range check to prevent memory corruption.
Fixes: d6846af679e0 ('staging: r8188eu: Add files for new driver - part 7')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e')
0 files changed, 0 insertions, 0 deletions