diff options
author | Jerome Marchand <jmarchan@redhat.com> | 2016-05-26 11:52:24 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2016-06-23 23:44:56 -0500 |
commit | 202d772ba02b1deb8835a631cd8255943d1906a0 (patch) | |
tree | b75d9bb01a6ee28c30d75d0bbac4f9837a38c135 /fs/cifs/smbencrypt.c | |
parent | 3d22462ae915743f3be5bf1ab3d4a6b72c2bb6c9 (diff) | |
download | linux-202d772ba02b1deb8835a631cd8255943d1906a0.tar.gz linux-202d772ba02b1deb8835a631cd8255943d1906a0.tar.bz2 linux-202d772ba02b1deb8835a631cd8255943d1906a0.zip |
cifs: use CIFS_MAX_DOMAINNAME_LEN when converting the domain name
Currently in build_ntlmssp_auth_blob(), when converting the domain
name to UTF16, CIFS_MAX_USERNAME_LEN limit is used. It should be
CIFS_MAX_DOMAINNAME_LEN. This patch fixes this.
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smbencrypt.c')
0 files changed, 0 insertions, 0 deletions