summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2019-07-16 17:39:02 +0000
committerbluhm <bluhm@openbsd.org>2019-07-16 17:39:02 +0000
commit9392a7356dcbb9aa55ba792313ca7916e2904c2b (patch)
tree0eeb34843cca395b3f239f3bf57262082a25e97d /lib/libc
parent1) Re-resolve and re-get constraints once the clock is synced. Constraints (diff)
downloadwireguard-openbsd-9392a7356dcbb9aa55ba792313ca7916e2904c2b.tar.xz
wireguard-openbsd-9392a7356dcbb9aa55ba792313ca7916e2904c2b.zip
Prevent integer overflow in kernel and userland when checking mbuf
limits. Convert kernel variables and calculations for mbuf memory into long to allow larger values on 64 bit machines. Put a range check into the kernel sysctl. For the interface itself int is still sufficient. In netstat -m cast all multiplications to unsigned long to hold the product of two unsigned int. input and OK visa@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions