aboutsummaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-04-07 09:31:21 +0300
committerJiri Slaby <jslaby@suse.cz>2014-07-02 12:06:04 +0200
commit6493b82225f7b2a92ef8b8386687ba8e78cd7407 (patch)
tree48399f0a78cb893eb79cb242810acd731172f7eb /lib/timerqueue.c
parent352fb7edefaedab8045465fa8c8bfa69f7c0c273 (diff)
Staging: rtl8188eu: overflow in update_sta_support_rate()
commit 9dbd79aeb9842144d9a114a979a12c0949ee11eb upstream. 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: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions