diff options
author | 2006-11-03 15:38:38 +0000 | |
---|---|---|
committer | 2006-11-03 15:38:38 +0000 | |
commit | 7b628ff3762dccd6498337999ea4a0969d573276 (patch) | |
tree | b0271fe91a9932c4c7f0bad38f1f7c06b946b2e1 /lib/libevent/kqueue.c | |
parent | if the nexthop is not reachable through outgoing interface set it to (diff) | |
download | wireguard-openbsd-7b628ff3762dccd6498337999ea4a0969d573276.tar.xz wireguard-openbsd-7b628ff3762dccd6498337999ea4a0969d573276.zip |
storing return value of strtol() in int variable was not safe,
also strtol() result was not checked for under/overflow
thus, rewrite getopt switch/cases with strtonum() and sensible bounds
help from mickey@ millert@, ok millert@, no objections otto@
Diffstat (limited to 'lib/libevent/kqueue.c')
0 files changed, 0 insertions, 0 deletions