Spdk/test/unit/lib/nvme/nvme.c
Daniel Verkamp 34f66f237c ut/nvme: add fatal asserts before dereferencing pointers
Make sure that req returned from the request allocation functions isn't
NULL before starting to check its fields.

Change-Id: I21869834148200f4bfd5065ebbc874041c559599
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/375618
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-08-28 13:53:54 -04:00
..
.gitignore test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
Makefile test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
nvme_ut.c ut/nvme: add fatal asserts before dereferencing pointers 2017-08-28 13:53:54 -04:00