sdk-ameba-v4.0c_180328/component/common
Github Security Lab 672ea37751 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-07 21:12:04 +01:00
..
api first add sdk 2019-04-02 16:34:25 +08:00
application first add sdk 2019-04-02 16:34:25 +08:00
audio first add sdk 2019-04-02 16:34:25 +08:00
drivers first add sdk 2019-04-02 16:34:25 +08:00
example first add sdk 2019-04-02 16:34:25 +08:00
file_system first add sdk 2019-04-02 16:34:25 +08:00
mbed first add sdk 2019-04-02 16:34:25 +08:00
media first add sdk 2019-04-02 16:34:25 +08:00
network vallen is verified to be less than len, therefore, it can never 2020-03-07 21:12:04 +01:00
test/wlan first add sdk 2019-04-02 16:34:25 +08:00
utilities first add sdk 2019-04-02 16:34:25 +08:00
video/v4l2/inc first add sdk 2019-04-02 16:34:25 +08:00