linux/drivers/staging/rtl8723bs
Colin Ian King d5c69c9679 staging: rtl8723bs: check for i out of range before accessing szLine[i]
Currently szLine[i] is being accessed before the index i is being
ranged checked.  Fix this by checking the range first.  Also, evaluate
the length of the string szLine just once rather than multiple times and
move the loop variable i to an inner scope and make it an int.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-10 17:12:42 +02:00
..
core Staging/IIO patches for 4.19-rc1 2018-08-18 11:00:00 -07:00
hal staging: rtl8723bs: check for i out of range before accessing szLine[i] 2018-09-10 17:12:42 +02:00
include Staging/IIO patches for 4.19-rc1 2018-08-18 11:00:00 -07:00
os_dep Staging/IIO patches for 4.19-rc1 2018-08-18 11:00:00 -07:00
Kconfig
Makefile staging: rtl8723bs: Rename 'Hal8723BPwrSeq.{c, h}' to 'hal_pwr_seq.*'. 2018-05-25 18:47:22 +02:00
TODO