Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`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> Ref IDF-4847
- Loading branch information