kernel_optimize_test/drivers/target
Joern Engel 8ae757d09c iscsi-target: avoid NULL pointer in iscsi_copy_param_list failure
In iscsi_copy_param_list() a failed iscsi_param_list memory allocation
currently invokes iscsi_release_param_list() to cleanup, and will promptly
trigger a NULL pointer dereference.

Instead, go ahead and return for the first iscsi_copy_param_list()
failure case.

Found by coverity.

Signed-off-by: Joern Engel <joern@logfs.org>
Cc: <stable@vger.kernel.org> # v3.1+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2014-09-17 13:44:01 -07:00
..
iscsi iscsi-target: avoid NULL pointer in iscsi_copy_param_list failure 2014-09-17 13:44:01 -07:00
loopback scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
sbp
tcm_fc tcm_fc: Generate TASK_SET_FULL status for response failures 2014-06-06 14:20:51 -07:00
Kconfig
Makefile
target_core_alua.c Merge branch 'next' (accumulated 3.16 merge window patches) into master 2014-06-08 11:31:16 -07:00
target_core_alua.h
target_core_configfs.c target: Fix inverted logic in SE_DEV_ALUA_SUPPORT_STATE_STORE 2014-09-17 11:06:52 -07:00
target_core_device.c target: Fix left-over se_lun->lun_sep pointer OOPs 2014-06-26 20:56:49 -07:00
target_core_fabric_configfs.c
target_core_fabric_lib.c
target_core_file.c
target_core_file.h
target_core_hba.c
target_core_iblock.c arch: Mass conversion of smp_mb__*() 2014-04-18 14:20:48 +02:00
target_core_iblock.h
target_core_internal.h
target_core_pr.c arch: Mass conversion of smp_mb__*() 2014-04-18 14:20:48 +02:00
target_core_pr.h
target_core_pscsi.c scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
target_core_pscsi.h
target_core_rd.c
target_core_rd.h
target_core_sbc.c TARGET/sbc,loopback: Adjust command data length in case pi exists on the wire 2014-06-11 13:06:50 -07:00
target_core_spc.c target: Fix user data segment multiplier in spc_emulate_evpd_b3() 2014-09-17 10:53:25 -07:00
target_core_stat.c
target_core_tmr.c
target_core_tpg.c percpu-refcount: require percpu_ref to be exited explicitly 2014-06-28 08:10:14 -04:00
target_core_transport.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2014-06-12 22:38:32 -07:00
target_core_ua.c arch: Mass conversion of smp_mb__*() 2014-04-18 14:20:48 +02:00
target_core_ua.h
target_core_xcopy.c target: cleanup some boolean tests 2014-06-06 14:21:01 -07:00
target_core_xcopy.h