summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2012-07-09 12:45:30 +0000
committerkrw <krw@openbsd.org>2012-07-09 12:45:30 +0000
commit0cdbad8ad828a84903768c694d3876fa57581c53 (patch)
treea3aab5394daee885cad0812c51176791648a61f3 /sys
parentmove to the new resolver implementation, with temporary glue to use (diff)
downloadwireguard-openbsd-0cdbad8ad828a84903768c694d3876fa57581c53.tar.xz
wireguard-openbsd-0cdbad8ad828a84903768c694d3876fa57581c53.zip
Use strtonum() instead of strtol() inside ask_num(). Many overflows
are thus avoided. Since bounds are now reliable don't check the returned value for being in-bounds. Since default value is forced inside bounds, don't bother being tricky and passing a default that is outside the bounds being specified. ok beck@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions