summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2014-06-13 06:28:31 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2014-06-27 05:56:42 +0200
commite4fae2318b5ddd7aec0e65871f1b455b796cf33d (patch)
tree40cd72769cbfe4aff41e428dc9b9206eb36bb4df /drivers/pci
parentiscsi-target: Convert chap_server_compute_md5 to use kstrtoul (diff)
downloadlinux-e4fae2318b5ddd7aec0e65871f1b455b796cf33d.tar.xz
linux-e4fae2318b5ddd7aec0e65871f1b455b796cf33d.zip
iscsi-target; Enforce 1024 byte maximum for CHAP_C key value
This patch adds a check in chap_server_compute_md5() to enforce a 1024 byte maximum for the CHAP_C key value following the requirement in RFC-3720 Section 11.1.4: "..., C and R are large-binary-values and their binary length (not the length of the character string that represents them in encoded form) MUST not exceed 1024 bytes." Reported-by: rahul.rane <rahul.rane@calsoftinc.com> Tested-by: rahul.rane <rahul.rane@calsoftinc.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions