Claire J. In 3be9febdf9 lib/ftl: check for null
Fixes #726.
This prevents a segmentation fault by checking the pointer
before accessing it.

Change-Id: I18a3776fbcd6242c6efd1b88044debaa88c7342f
Signed-off-by: Claire J. In <claire.in@circuitblvd.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449591
Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-04-02 08:22:48 +00:00
..
2019-03-26 23:27:29 +00:00
2019-04-02 00:02:58 +00:00
2019-03-28 14:50:46 +00:00
2019-04-02 08:22:48 +00:00
2019-03-29 21:15:14 +00:00
2019-03-29 21:15:14 +00:00
2019-03-26 22:54:28 +00:00
2019-03-01 21:38:02 +00:00
2019-01-30 06:36:25 +00:00
2019-03-29 21:15:14 +00:00