]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cifs: add replacement for cifs_strtoUCS_le called cifs_from_ucs2
authorJeff Layton <jlayton@redhat.com>
Thu, 30 Apr 2009 10:46:15 +0000 (06:46 -0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 30 Apr 2009 15:44:59 +0000 (15:44 +0000)
commit7fabf0c9479fef9fdb9528a5fbdb1cb744a744a4
treea44ab17abeefb87a623d62c344d4aa4b4f1a4b7f
parent66345f50f070ae7412a28543ee197cb5eff73598
cifs: add replacement for cifs_strtoUCS_le called cifs_from_ucs2

Add a replacement function for cifs_strtoUCS_le. cifs_from_ucs2
takes args for the source and destination length so that we can ensure
that the function is confined within the intended buffers.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_unicode.c
fs/cifs/cifs_unicode.h