diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-05-08 20:08:51 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-05-08 20:08:51 +0000 |
commit | 99aa65719601eb340e970ab268bc9c21d0e1d3eb (patch) | |
tree | 5c6213afd1d088a2e54cecd7730495d26e01c29e /usr.sbin/pkg_add | |
parent | a72d335afe366ee5df254bd5fe8a2be3554b8ae0 (diff) |
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 'usr.sbin/pkg_add')
0 files changed, 0 insertions, 0 deletions