Spdk/lib
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
..
conf conf: Add configuration file iteration functions 2016-05-13 09:51:37 -07:00
cunit cunit: add test result JSON formatting 2016-05-12 15:42:09 -07:00
event event: fix null pointer issue in spdk_subsystem_fini 2016-06-15 16:33:55 -07:00
ioat build: wrap $(CURDIR) relative paths in $(abspath) 2016-05-09 13:56:07 -07:00
json json: fix spdk_json_write_val with nested objects 2016-05-11 10:43:02 -07:00
jsonrpc jsonrpc: add JSON-RPC 2.0 library 2016-05-23 10:28:58 -07:00
log log: allow setting all trace flags at once 2016-05-12 09:47:57 -07:00
memory vtophys: fix usermode address range check 2016-06-22 16:41:29 -07:00
nvme Create a utility and enable WRR arbitration mechanism 2016-06-21 16:35:04 -07:00
nvmf nvmf: update conn.h include guards. 2016-06-22 11:56:13 -07:00
rpc rpc: Add an RPC subsystem 2016-06-22 15:45:50 -07:00
trace trace: validate group IDs 2016-05-24 09:53:19 -07:00
util build: wrap $(CURDIR) relative paths in $(abspath) 2016-05-09 13:56:07 -07:00
Makefile rpc: Add an RPC subsystem 2016-06-22 15:45:50 -07:00