ameba-sdk-gcc-make/component/common/network
Github Security Lab 5aa3b6b985 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:27:26 +01:00
..
dhcp first commit and add gitignore, README.md 2016-06-04 19:09:35 +08:00
lwip vallen is verified to be less than len, therefore, it can never 2020-03-06 21:27:26 +01:00
mdns first commit and add gitignore, README.md 2016-06-04 19:09:35 +08:00
rtsp first commit and add gitignore, README.md 2016-06-04 19:09:35 +08:00
ssl first commit and add gitignore, README.md 2016-06-04 19:09:35 +08:00