iscsi-target: Fix tfc_tpg_auth_cit configfs length overflow
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 6 Jul 2013 23:48:55 +0000 (16:48 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 8 Jul 2013 01:36:50 +0000 (18:36 -0700)
commit37b32c6faf0e0e40c65c1014df7527ececdd3f9a
tree99a74c2eb21bb561209ce202613a820544d24467
parent0fbfc46fb0b2f543a8b539e94c6c293ebc0b05a6
iscsi-target: Fix tfc_tpg_auth_cit configfs length overflow

This patch fixes another potential buffer overflow while processing
iscsi_node_auth input for configfs attributes in v3.11 for-next
TPG tfc_tpg_auth_cit context.

Reported-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_configfs.c