diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-09-18 14:21:01 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-18 15:35:25 -0500 |
commit | c73f693989d7a7d99ec66a7065295a0c93d0b127 (patch) | |
tree | 4675ee9f6b92aefe53827c1d8a161a99326e20e4 /ipc | |
parent | 4651afbbae968772efd6dc4ba461cba9b49bb9d8 (diff) | |
download | op-kernel-dev-c73f693989d7a7d99ec66a7065295a0c93d0b127.zip op-kernel-dev-c73f693989d7a7d99ec66a7065295a0c93d0b127.tar.gz |
cifs: fix return value in cifsConvertToUTF16
This function returns the wrong value, which causes the callers to get
the length of the resulting pathname wrong when it contains non-ASCII
characters.
This seems to fix https://bugzilla.samba.org/show_bug.cgi?id=6767
Cc: <stable@vger.kernel.org>
Reported-by: Baldvin Kovacs <baldvin.kovacs@gmail.com>
Reported-and-Tested-by: Nicolas Lefebvre <nico.lefebvre@gmail.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions