In store_last_run_counter(), history->poller_name is set to strdup(), which may return NULL. We should deal with it. Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com> Change-Id: Ice5f27c4a7d2f9abd528b97a48ff5f92b48c8d7c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8306 Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>