numam-spdk/lib/iscsi
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
..
acceptor.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
acceptor.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
conn.c iscsi/conn: Fix the bug when iterates the read command subtasks. 2017-05-11 08:09:23 +08:00
conn.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
crc32c.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
crc32c.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
init_grp.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
init_grp.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
iscsi_rpc.c scsi: make spdk_scsi_dev definition private 2017-05-03 12:34:57 -07:00
iscsi_subsystem.c subsystem: make subsystem init in async manner 2017-05-31 15:30:58 -04:00
iscsi.c iscsi, param: fix memory leak related issue 2017-06-05 13:34:40 -04:00
iscsi.h iscsi, param: fix memory leak related issue 2017-06-05 13:34:40 -04:00
Makefile env: Make the environment library configurable. 2016-10-05 11:51:37 -07:00
md5.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
md5.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
param.c iscsi, param: fix memory leak related issue 2017-06-05 13:34:40 -04:00
param.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
portal_grp.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
portal_grp.h iscsi: fixed crash on invalid add_portal_group call 2017-03-27 15:19:38 -07:00
task.c iscsi: clean up iSCSI/SCSI task conversions 2017-05-16 16:45:22 -07:00
task.h iscsi: clean up iSCSI/SCSI task conversions 2017-05-16 16:45:22 -07:00
tgt_node.c scsi: Set proper transport protocol id 2017-06-01 12:10:22 -04:00
tgt_node.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00