Spdk/lib/iscsi
Dariusz Stojaczyk 3907139e34 iscsi: fixed crash on invalid add_portal_group call
Fixed double free in spdk_rpc_add_portal_group()
spdk_iscsi_portal_create() now takes string arguments as const char* and makes internal copies of them.
This patch also fixes potential memory leak when id == NULL

Change-Id: I4d0efb101471fb2368ceb8ceecb0e40614e3585d
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
2017-03-27 15:19:38 -07:00
..
acceptor.c event: remove 'complete' parameter from poller_register 2017-01-05 11:57:18 -07:00
acceptor.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
conn.c iscsi: Fix the large IO failure procedure in iscsi layer 2017-03-07 12:52:17 -07:00
conn.h iscsi: move extern g_conn_array to conn.h (#111) 2017-02-13 09:57:37 -07:00
crc32c.c iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
crc32c.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
init_grp.c log: split internal TRACELOG macro into new header 2016-11-16 13:33:51 -07:00
init_grp.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
iscsi_rpc.c iscsi: fixed crash on invalid add_portal_group call 2017-03-27 15:19:38 -07:00
iscsi_subsystem.c iscsi: fix the run out of task pool issue 2017-02-22 19:13:50 -07:00
iscsi.c (i)scsi: check strlen before copy 2017-03-27 11:37:15 -07:00
iscsi.h event: pass arg1 and arg2 directly to event fn 2017-01-05 11:57:18 -07:00
Makefile env: Make the environment library configurable. 2016-10-05 11:51:37 -07:00
md5.c Fix some cppcheck errors on lib/iscsi & lib/scsi. (#41) 2016-09-28 13:55:56 -07:00
md5.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
param.c log: split internal TRACELOG macro into new header 2016-11-16 13:33:51 -07:00
param.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
portal_grp.c iscsi: fixed crash on invalid add_portal_group call 2017-03-27 15:19:38 -07:00
portal_grp.h iscsi: fixed crash on invalid add_portal_group call 2017-03-27 15:19:38 -07:00
task.c Replace rte_panic() with abort() 2016-11-08 08:57:49 -07:00
task.h scsi: change spdk_put_task to spdk_scsi_task_put 2016-09-29 15:42:29 -07:00
tgt_node.c event: remove spdk_event_allocate() next parameter 2017-01-05 11:57:18 -07:00
tgt_node.h iscsi: start all sessions for a target node on the same lcore 2016-09-22 09:12:36 -07:00