diff options
author | 2014-05-08 20:08:50 +0000 | |
---|---|---|
committer | 2014-05-08 20:08:50 +0000 | |
commit | 36d5d901ac42f22136ea70180a000225456127ed (patch) | |
tree | b25ab055c162a7f3a66231b8d9ad9fa7ea0ad8cb /lib/libc/stdlib/reallocarray.c | |
parent | Replace hand-crafted STRICT_ALIGNMENT with system provided __STRICT_ALIGNMENT. (diff) | |
download | wireguard-openbsd-36d5d901ac42f22136ea70180a000225456127ed.tar.xz wireguard-openbsd-36d5d901ac42f22136ea70180a000225456127ed.zip |
Fix some potential integer overflows caused by converting a page number into
an offset/size/address by shifting by PAGE_SHIFT. Make uvm_objwrire/unwire
use voff_t instead of off_t. The former is the right type here even if it is
equivalent to the latter.
Inspired by a somewhat similar changes in Bitrig.
ok deraadt@, guenther@
Diffstat (limited to 'lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions