RTL8710_SDK_GCC_VERSION/component/common
Github Security Lab c481ca0882 vallen is verified to be less than len, therefore, it can never
be the case that `vallen >= len + sizeof(rhostname)`.

This PR fixes the check so the `rhostname` array does not overflow.

Reported-by: Github Security Lab <securitylab@github.com>
Signed-off-by: Alvaro Muñoz <pwntester@github.com>
2020-03-08 02:16:00 +01:00
..
api GCC SDK RTL8710 basic version (including the window platform cygwin installation and Ubuntu platform Linux Installation routines), 2016-09-08 20:52:17 +08:00
application GCC SDK RTL8710 basic version (including the window platform cygwin installation and Ubuntu platform Linux Installation routines), 2016-09-08 20:52:17 +08:00
drivers GCC SDK RTL8710 basic version (including the window platform cygwin installation and Ubuntu platform Linux Installation routines), 2016-09-08 20:52:17 +08:00
example GCC SDK RTL8710 basic version (including the window platform cygwin installation and Ubuntu platform Linux Installation routines), 2016-09-08 20:52:17 +08:00
file_system/fatfs GCC SDK RTL8710 basic version (including the window platform cygwin installation and Ubuntu platform Linux Installation routines), 2016-09-08 20:52:17 +08:00
mbed GCC SDK RTL8710 basic version (including the window platform cygwin installation and Ubuntu platform Linux Installation routines), 2016-09-08 20:52:17 +08:00
network vallen is verified to be less than len, therefore, it can never 2020-03-08 02:16:00 +01:00
test/wlan GCC SDK RTL8710 basic version (including the window platform cygwin installation and Ubuntu platform Linux Installation routines), 2016-09-08 20:52:17 +08:00
utilities GCC SDK RTL8710 basic version (including the window platform cygwin installation and Ubuntu platform Linux Installation routines), 2016-09-08 20:52:17 +08:00