numam-spdk/lib/memory
Daniel Verkamp 4db1b420f4 vtophys: fix usermode address range check
vtophys() was checking for out-of-range addresses incorrectly: vfn_2mb
is already shifted to account for 2 MB hugepages, but it was being
compared with a mask that did not account for the shift.  This would
allow out-of-bounds access to the 128tb map array for certain invalid
addresses (it had no effect on addresses within the valid userspace
range).

Change-Id: Ida7455595e586494c9025f9ba65d050abb16b1b9
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-06-22 16:41:29 -07:00
..
Makefile build: wrap $(CURDIR) relative paths in $(abspath) 2016-05-09 13:56:07 -07:00
vtophys.c vtophys: fix usermode address range check 2016-06-22 16:41:29 -07:00