sdk-ameba-v4.0b_without_nda.../component/common
Github Security Lab 44d66b550c 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-06 21:30:31 +01:00
..
api Initial commit 2017-10-15 14:36:37 +08:00
application Initial commit 2017-10-15 14:36:37 +08:00
drivers Initial commit 2017-10-15 14:36:37 +08:00
example Initial commit 2017-10-15 14:36:37 +08:00
file_system Initial commit 2017-10-15 14:36:37 +08:00
mbed Initial commit 2017-10-15 14:36:37 +08:00
network vallen is verified to be less than len, therefore, it can never 2020-03-06 21:30:31 +01:00
test/wlan Initial commit 2017-10-15 14:36:37 +08:00
utilities Initial commit 2017-10-15 14:36:37 +08:00