numam-spdk/examples/nvme
Tomasz Zawadzki 8bab99fb6e nvme_manage: assert ns not being NULL when displaying namespaces
Assert that spdk_nvme_ctrlr_get_ns() does not return NULL.
If display_namespace() would proceed with ns == NULL,
functions below will segfault since the input is not verified there.

Change-Id: I12c4b617aca703f07275fbc6ab593b42c25e2ccd
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451830
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-04-25 14:34:53 +00:00
..
arbitration example/nvme: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
cmb_copy example/nvme: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
fio_plugin rdma: set the number of wr sge_entries per I/O 2019-04-19 17:29:45 +00:00
hello_world nvme:replacing spdk_dma_malloc with spdk_z/malloc 2018-08-31 17:42:29 +00:00
hotplug examples/nvme: hot added drive cannot be attached 2019-04-02 00:03:40 +00:00
identify nvme/identify: Report all atomicity values 2019-03-19 15:51:05 +00:00
nvme_manage nvme_manage: assert ns not being NULL when displaying namespaces 2019-04-25 14:34:53 +00:00
perf examples/nvme/perf: use MiB/s to show bandwidth data 2019-04-19 20:15:55 +00:00
reserve log: remove "trace" from public API 2018-12-03 19:50:15 +00:00
Makefile cmb_copy: An example app that uses NVMe CMBs 2018-02-14 12:36:01 -05:00