linux_dsm_epyc7002/drivers/target
Eric Seppanen 86784c6bde iscsi-target: chap auth shouldn't match username with trailing garbage
In iSCSI negotiations with initiator CHAP enabled, usernames with
trailing garbage are permitted, because the string comparison only
checks the strlen of the configured username.

e.g. "usernameXXXXX" will be permitted to match "username".

Just check one more byte so the trailing null char is also matched.

Signed-off-by: Eric Seppanen <eric@purestorage.com>
Cc: <stable@vger.kernel.org> #3.1+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2013-11-20 22:03:57 -08:00
..
iscsi iscsi-target: chap auth shouldn't match username with trailing garbage 2013-11-20 22:03:57 -08:00
loopback tcm_loop: Implement target reset 2013-10-16 15:42:52 -07:00
sbp target: Remove TF_CIT_TMPL macro 2013-10-16 13:35:02 -07:00
tcm_fc target: Remove TF_CIT_TMPL macro 2013-10-16 13:35:02 -07:00
Kconfig
Makefile
target_core_alua.c target_core_alua: Store supported ALUA states 2013-11-20 11:26:37 -08:00
target_core_alua.h target_core_alua: Store supported ALUA states 2013-11-20 11:26:37 -08:00
target_core_configfs.c target_core_configfs: split up ALUA supported states 2013-11-20 11:38:18 -08:00
target_core_device.c target core: rename (ex,im)plict -> (ex,im)plicit 2013-11-20 11:24:40 -08:00
target_core_fabric_configfs.c target: Remove TF_CIT_TMPL macro 2013-10-16 13:35:02 -07:00
target_core_fabric_lib.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_file.c target core: rename (ex,im)plict -> (ex,im)plicit 2013-11-20 11:24:40 -08:00
target_core_file.h
target_core_hba.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_iblock.c target: Pass through I/O topology for block backstores 2013-11-12 13:44:54 -08:00
target_core_iblock.h
target_core_internal.h target: Add percpu refcounting for se_lun access 2013-11-07 14:24:52 -08:00
target_core_pr.c target core: rename (ex,im)plict -> (ex,im)plicit 2013-11-20 11:24:40 -08:00
target_core_pr.h
target_core_pscsi.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_pscsi.h
target_core_rd.c target: Core does not need blkdev.h 2013-11-12 13:45:24 -08:00
target_core_rd.h
target_core_sbc.c target: Pass through I/O topology for block backstores 2013-11-12 13:44:54 -08:00
target_core_spc.c target core: rename (ex,im)plict -> (ex,im)plicit 2013-11-20 11:24:40 -08:00
target_core_stat.c target: Convert se_device statistics to atomic_long_t 2013-11-13 18:34:55 -08:00
target_core_tmr.c target: Convert se_device statistics to atomic_long_t 2013-11-13 18:34:55 -08:00
target_core_tpg.c target: Drop left-over se_lun->lun_cmd_list shutdown code 2013-11-07 14:25:02 -08:00
target_core_transport.c target core: rename (ex,im)plict -> (ex,im)plicit 2013-11-20 11:24:40 -08:00
target_core_ua.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_ua.h target core: rename (ex,im)plict -> (ex,im)plicit 2013-11-20 11:24:40 -08:00
target_core_xcopy.c target: Add per device xcopy_lun for copy offload I/O 2013-11-08 13:13:38 -08:00
target_core_xcopy.h