diff options
author | alc <alc@FreeBSD.org> | 2011-12-10 18:42:00 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2011-12-10 18:42:00 +0000 |
commit | 57f34640a0a11883a79979db53201f8781ff0edf (patch) | |
tree | 7006470e4e50318511d48099c14be8161f8ced78 /contrib/diff/lib/error.c | |
parent | 71c254bdb3ff5cc5a01a43eb10a5da8c112b64c0 (diff) | |
download | FreeBSD-src-57f34640a0a11883a79979db53201f8781ff0edf.zip FreeBSD-src-57f34640a0a11883a79979db53201f8781ff0edf.tar.gz |
Avoid the possibility of integer overflow in the calculation of
VM_KMEM_SIZE_MAX. Specifically, if the user/kernel address space split
was changed such that the kernel address space was greater than or equal
to 2 GB, then overflow would occur.
PR: 161721
MFC after: 3 weeks
Diffstat (limited to 'contrib/diff/lib/error.c')
0 files changed, 0 insertions, 0 deletions