commit | bc704fb58f507deea84a4c047a3a71351f0c55aa | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Nov 28 01:02:07 2011 -0800 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Wed Dec 14 11:28:09 2011 +0000 |
tree | 64372a6e7fbf1a54214fda904a81637d8bba1402 | |
parent | 8359cf43b9dccddeebb0d247146719a14ce6371a [diff] |
iscsi-target: fix chap identifier simple_strtoul usage This patch makes chap_server_compute_md5() use proper unsigned long usage for the CHAP_I (identifier) and check for values beyond 255 as per RFC-1994. Reported-by: Joern Engel <joern@logfs.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>