diff options
author | Steve French <smfrench@gmail.com> | 2014-06-22 20:38:49 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-06-24 08:10:24 -0500 |
commit | ce36d9ab3bab06b7b5522f5c8b68fac231b76ffb (patch) | |
tree | 32752d15bb72dff8f1d7c4a8b19dd8808051f8f0 /lib/mpi/mpi-bit.c | |
parent | 08bc03539d38508eff3fd470a82ea422ce279f6e (diff) | |
download | op-kernel-dev-ce36d9ab3bab06b7b5522f5c8b68fac231b76ffb.zip op-kernel-dev-ce36d9ab3bab06b7b5522f5c8b68fac231b76ffb.tar.gz |
[CIFS] fix mount failure with broken pathnames when smb3 mount with mapchars option
When we SMB3 mounted with mapchars (to allow reserved characters : \ / > < * ?
via the Unicode Windows to POSIX remap range) empty paths
(eg when we open "" to query the root of the SMB3 directory on mount) were not
null terminated so we sent garbarge as a path name on empty paths which caused
SMB2/SMB2.1/SMB3 mounts to fail when mapchars was specified. mapchars is
particularly important since Unix Extensions for SMB3 are not supported (yet)
Signed-off-by: Steve French <smfrench@gmail.com>
Cc: <stable@vger.kernel.org>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions