numam-spdk/test
Seth Howell 4328a67ea7 lib/reduce: add array bounds checking for iovs.
We also need to make sure that the deconm_iov is large enough to handle
all of the iovs we claim to support plus 2, one for offset into the
chunk when doing writes and one for the remainder.
Plus a unittest to demonstrate the possible out of bounds error in the
library.

Change-Id: I7747ad39f76e50f25ecf5168b01e046f71fa0ea8
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478125
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-12-19 11:04:57 +00:00
..
app app: Add cli options to print SPDK version 2019-11-15 18:25:31 +00:00
bdev bdevperf: Unify the units with perf. 2019-12-19 11:04:39 +00:00
blobfs test/rocksdb: convert test cases to run_test 2019-12-10 17:12:03 +00:00
blobstore test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
common test: properly handle the killprocess case 2019-12-17 15:28:37 +00:00
compress test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
config_converter rpc: Rename construct_vhost_blk_controller to vhost_create_blk_controller 2019-10-10 16:19:56 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
env env: Use rte_malloc in spdk_mem_register code path when possible 2019-12-11 11:05:10 +00:00
event test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
ftl test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
fuzz test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
ioat test/ioat: clean up timing calls. 2019-12-10 17:12:03 +00:00
iscsi_tgt test/iscsi: convert data_digests tests to run_test 2019-12-10 17:12:03 +00:00
json_config test: Shellcheck - correct rule: Expanding an array 2019-11-27 07:08:57 +00:00
lvol test/lvol: use the run_test framework directly 2019-12-10 17:12:03 +00:00
make test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
nvme test/vhost: shell_restore_x -> xtrace_restore 2019-12-17 14:54:40 +00:00
nvmf test: properly handle the killprocess case 2019-12-17 15:28:37 +00:00
ocf test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
openstack test/openstack: Add possibility to reinstall devstack on required branch 2019-11-07 13:22:50 +00:00
pmem test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
rpc_client test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
spdkcli test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
unit lib/reduce: add array bounds checking for iovs. 2019-12-19 11:04:57 +00:00
vhost test/vhost: convert migration tests to run_test 2019-12-17 14:54:40 +00:00
vmd test/vmd: convert to run_test framework 2019-12-10 17:12:03 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00