ameba_ws2812b/component/common/network/lwip
Github Security Lab 3ced11227f 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 00:46:23 +01:00
..
lwip_v1.3.2 first commit 2015-11-17 10:30:14 +08:00
lwip_v1.4.1 first commit 2015-11-17 10:30:14 +08:00
lwip_v1.5.0.beta vallen is verified to be less than len, therefore, it can never 2020-03-08 00:46:23 +01:00