Commit graph

3 commits

Author SHA1 Message Date
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
Tautvydas Belgeras
bc7c607a66 Fixed enum typecasting issues when building with g++ 2018-12-14 16:21:24 +02:00
Tautvydas Belgeras
60a7afcc83 initial commit 2018-06-05 16:16:17 +03:00