diff options
author | 2019-07-16 17:39:02 +0000 | |
---|---|---|
committer | 2019-07-16 17:39:02 +0000 | |
commit | 9392a7356dcbb9aa55ba792313ca7916e2904c2b (patch) | |
tree | 0eeb34843cca395b3f239f3bf57262082a25e97d /lib/libc | |
parent | 1) Re-resolve and re-get constraints once the clock is synced. Constraints (diff) | |
download | wireguard-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