numam-spdk/lib
Dariusz Stojaczyk f70f4b8568 lib/event: do not clobber g_spdk_app on failed init
This fixes a double free in spdk_app_fini().
If spdk_app_start() failed, the g_spdk_app.config
was becoming a dangling pointer which would be
accessed and freed by spdk_app_fini()

Change-Id: Ifa833f5706d391356df39db4e1c538db7a1c7dcb
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/404358
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-03-23 03:46:50 -04:00
..
bdev bdev: add iSCSI initiator bdev module 2018-03-21 20:35:42 -04:00
blob blobstore: process split operation sequentially 2018-03-20 12:27:11 -04:00
blobfs blobfs: cleanup and add comments in deleted file cleanup path 2018-03-02 15:30:32 -05:00
conf conf: Remove use of perror() for strdup() failure 2017-12-15 16:13:27 -05:00
copy io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env: print SPDK version during init 2018-03-08 11:38:19 -05:00
event lib/event: do not clobber g_spdk_app on failed init 2018-03-23 03:46:50 -04:00
ioat scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
iscsi iscsi: update the spdk_iscsi_poll_group_poll handling 2018-03-19 15:56:27 -04:00
json json: add va_arg versions for write_string and write_named_string 2018-02-23 15:27:16 -05:00
jsonrpc jsonrpc: add spdk_jsonrpc_send_error_response_fmt 2018-02-23 15:27:16 -05:00
log log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvol bdev: Added functions allowing logical volume store rename. 2018-03-08 11:26:16 -05:00
nbd lib: Return instead of abort() in nbd 2018-03-13 13:41:50 -04:00
net net_framework: add registering of multiple spdk_net_frameworks 2018-03-15 17:54:29 -04:00
nvme nvme: use uint32_t consistently for NSID values 2018-03-16 14:15:08 -04:00
nvmf nvmf: mask off reserved bits in AER configuration 2018-03-23 03:45:23 -04:00
rocksdb lib: Return instead of exit in event 2018-03-08 11:47:01 -05:00
rpc rpc: remove the existing socket file when application starts 2018-03-02 16:48:53 -05:00
scsi io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
trace lib: Return instead of exit in trace 2018-03-13 00:53:35 -04:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util io_channel: invoke unregister_cb on same thread unregister was called 2018-03-19 21:50:19 -04:00
vhost io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
virtio virtio/user: implement get/set config messages 2018-02-23 15:37:11 -05:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00