https://github.com/torvalds/linux
Revision b06eef6eab8e4a241f88385527ac4d1844abc18d authored by Nicholas Bellinger on 13 June 2014, 04:05:16 UTC, committed by Nicholas Bellinger on 27 June 2014, 03:56:42 UTC
This patch converts chap_server_compute_md5() from simple_strtoul() to
kstrtoul usage().

This addresses the case where a empty 'CHAP_I=' key value received during
mutual authentication would be converted to a '0' by simple_strtoul(),
instead of failing the login attempt.

Reported-by: Tejas Vaykole <tejas.vaykole@calsoftinc.com>
Tested-by: Tejas Vaykole <tejas.vaykole@calsoftinc.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
1 parent a497c3b
History
Tip revision: b06eef6eab8e4a241f88385527ac4d1844abc18d authored by Nicholas Bellinger on 13 June 2014, 04:05:16 UTC
iscsi-target: Convert chap_server_compute_md5 to use kstrtoul
Tip revision: b06eef6
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 275.2 KB
Makefile -rw-r--r-- 50.8 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top