summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-05-08 20:08:51 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-05-08 20:08:51 +0000
commit99aa65719601eb340e970ab268bc9c21d0e1d3eb (patch)
tree5c6213afd1d088a2e54cecd7730495d26e01c29e /usr.sbin/pkg_add
parenta72d335afe366ee5df254bd5fe8a2be3554b8ae0 (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