summaryrefslogtreecommitdiff
path: root/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmalloc.c')
0 files changed, 0 insertions, 0 deletions
href='/cgit.cgi/linux/net-next.git/diff/?id=202d772ba02b1deb8835a631cd8255943d1906a0&id2=3d22462ae915743f3be5bf1ab3d4a6b72c2bb6c9'>diff)
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