summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authormartijn <martijn@openbsd.org>2020-07-23 20:19:27 +0000
committermartijn <martijn@openbsd.org>2020-07-23 20:19:27 +0000
commit483368fb1fd1e08929f65e98b837b307662a61d5 (patch)
treeeb251d73213f376d05d79dc7f981b26c605acffb /sys/net
parentgetline(3) does it's own memory allocation. No need to use an intermediate (diff)
downloadwireguard-openbsd-483368fb1fd1e08929f65e98b837b307662a61d5.tar.xz
wireguard-openbsd-483368fb1fd1e08929f65e98b837b307662a61d5.zip
Change line counter from int to unsigned long long to reduce overflow.
In case unsigned long long is miraculously still too small add an additional overflow detection so we stop counting and add a marker to couter output. Input on earlier diff guenther@ OK millert
Diffstat (limited to 'sys/net')
0 files changed, 0 insertions, 0 deletions