2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/staging/rtl8188eu
Dan Carpenter 9dbd79aeb9 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: d6846af679 ('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>
2014-04-25 15:45:24 -07:00
..
core Staging: rtl8188eu: overflow in update_sta_support_rate() 2014-04-25 15:45:24 -07:00
hal staging:rtl8188eu: Remove unnecessary variable assignments 2014-03-18 10:49:41 -07:00
include staging: rtl8188eu: os_intfs.c: Mark a couple of variables static 2014-04-15 11:04:07 -07:00
os_dep Merge 3.15-rc2 into staging-next 2014-04-22 10:08:40 -07:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2014-04-02 16:23:38 -07:00
Makefile staging: r8188eu: Remove dead file 2014-02-11 12:41:14 -08:00
TODO staging: Additional item for rtl8188eu TODO list 2014-02-14 09:19:53 -08:00