Spdk/lib/nvmf
Changpeng Liu 9df0f59444 nvmf/vfio-user: add check for property_access
Only 4 bytes or 8 bytes are valid numbers when to access NVMe
registers, add the check here.

Fix issue #2495.

Change-Id: I63b6e16a156f6eba17f397ec9d1a447e6a80b4da
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12643
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
Reviewed-by: John Levon <levon@movementarian.org>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2022-05-20 09:18:41 +00:00
..
ctrlr_bdev.c nvmf: make nacwu 0-based 2022-04-29 07:29:06 +00:00
ctrlr_discovery.c nvmf: fix trid comparison for discovery subsystem entries 2022-03-14 08:44:21 +00:00
ctrlr.c nvmf: make acwu 0-based based 2022-04-27 07:36:44 +00:00
fc_ls.c spelling: lib 2021-12-03 08:12:55 +00:00
fc.c nvmf/fc: call free() to the object allocated by calloc() 2022-02-28 11:08:16 +00:00
Makefile so_ver: increase all major versions 2022-01-31 15:29:56 +00:00
nvmf_fc.h spelling: lib 2021-12-03 08:12:55 +00:00
nvmf_internal.h nvmf: add internal set Controller Fatal Status API 2022-03-08 02:35:05 +00:00
nvmf_rpc.c nvmf: remove support for deprecated RPC names 2022-05-12 07:27:45 +00:00
nvmf.c nvmf: pass poll group to transport during create 2022-02-23 10:05:15 +00:00
rdma.c nvmf/rdma: Use spdk allocation scheme for RDMA requests and receives 2022-04-15 07:48:23 +00:00
spdk_nvmf.map lib/nvmf : Added support for ZCOPY 2021-07-23 08:34:43 +00:00
subsystem.c nvmf: deprecate automatic discovery listener 2022-02-28 11:06:16 +00:00
tcp.c nvmf: set cid when failing a misordered fused command 2022-05-05 07:11:17 +00:00
transport.c nvmf/rdma: Improve read performance in DIF strip mode 2022-04-01 11:19:18 +00:00
transport.h nvmf/rdma: Improve read performance in DIF strip mode 2022-04-01 11:19:18 +00:00
vfio_user.c nvmf/vfio-user: add check for property_access 2022-05-20 09:18:41 +00:00