summaryrefslogtreecommitdiffstats
path: root/sys/dev/pv/xen.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2016-07-30 16:43:44 +0000
committerkettenis <kettenis@openbsd.org>2016-07-30 16:43:44 +0000
commitd77b4202ac968dfdac8257977f51001577f61bff (patch)
treea6ae637774d8e56734d9b5e23960bac87a9d20d9 /sys/dev/pv/xen.c
parentAdd a few checks for potential integer overflow and underflow related to the (diff)
downloadwireguard-openbsd-d77b4202ac968dfdac8257977f51001577f61bff.tar.xz
wireguard-openbsd-d77b4202ac968dfdac8257977f51001577f61bff.zip
Check for wraparound before the "commit" phase of uvm_map() and uvm_mapanon(),
to prevent hitting assertions and/or corrupting data structures during that phase. ok deraadt@, tedu@
Diffstat (limited to 'sys/dev/pv/xen.c')
0 files changed, 0 insertions, 0 deletions