diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-11-28 01:02:07 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-12-14 11:28:09 +0000 |
commit | bc704fb58f507deea84a4c047a3a71351f0c55aa (patch) | |
tree | 64372a6e7fbf1a54214fda904a81637d8bba1402 /lib/mpi/mpi-gcd.c | |
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>
Diffstat (limited to 'lib/mpi/mpi-gcd.c')
0 files changed, 0 insertions, 0 deletions