Skip to content
Commit bc704fb5 authored by Nicholas Bellinger's avatar Nicholas Bellinger
Browse files

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: default avatarJoern Engel <joern@logfs.org>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 8359cf43
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment