summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2017-04-27 23:54:08 +0000
committermillert <millert@openbsd.org>2017-04-27 23:54:08 +0000
commit3123b2cb92f9dffb8297928ef299880de6b0e7d8 (patch)
treeb28de365cc6869f7d9c0497612a28dede3f2d62b /usr.bin/ssh/ssh.c
parentRemove "len < 0" check; len is socklen_t (uint32_t) so can't be (diff)
downloadwireguard-openbsd-3123b2cb92f9dffb8297928ef299880de6b0e7d8.tar.xz
wireguard-openbsd-3123b2cb92f9dffb8297928ef299880de6b0e7d8.zip
ntohl() returns uint32_t so it cannot be < 0. Since we're storing
the result in an int check for > INT_MAX instead. OK bluhm@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
0 files changed, 0 insertions, 0 deletions