Spdk/test/lib/iscsi/param
Ziye Yang 5b89e4a18f iscsi, param: fix memory leak related issue
issue: ASAN reported that param_ut free already
freed memory.

Reason: spdk_iscsi_negotiate_params does some
modifcation on params and may free old params
and create new params. To solve this issue,
we need to input **params but not *params in
spdk_iscsi_negotiate_params

Change-Id: I68658fd8e08f317343753620692f04e7b0b57577
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/363670
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-06-05 13:34:40 -04:00
..
.gitignore test/iscsi: add parameter negotiation unit test 2016-08-18 09:54:34 -07:00
Makefile build: replace DPDK_INC with ENV_CFLAGS 2017-03-21 15:41:13 -07:00
param_ut.c iscsi, param: fix memory leak related issue 2017-06-05 13:34:40 -04:00