sdk-ameba-v4.0b-gcc/component/common
Github Security Lab 0636e0a01b 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 01:10:37 +01:00
..
api initial commit 2018-06-05 16:16:17 +03:00
application initial commit 2018-06-05 16:16:17 +03:00
drivers initial commit 2018-06-05 16:16:17 +03:00
example initial commit 2018-06-05 16:16:17 +03:00
file_system initial commit 2018-06-05 16:16:17 +03:00
mbed Fixed enum typecasting issues when building with g++ 2018-12-14 16:21:24 +02:00
network vallen is verified to be less than len, therefore, it can never 2020-03-08 01:10:37 +01:00
test/wlan initial commit 2018-06-05 16:16:17 +03:00
utilities initial commit 2018-06-05 16:16:17 +03:00