Fix bug #6496 - MS-DFS: cannot follow multibyte char link name.
authorSATOH Fumiyasu <fumiyas@osstech.co.jp>
Tue, 30 Jun 2009 22:29:08 +0000 (15:29 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 30 Jun 2009 22:29:08 +0000 (15:29 -0700)
commit7f7ebfaecbe3458a4c3e8fc79b68dd247ef4e31e
treedabfe401e85a0ca20b327b0fb2dbb2f1f02ffe61
parent78519b65007d87870ea406315b7f233eba69e155
Fix bug #6496 - MS-DFS: cannot follow multibyte char link name.
consumed_ucs is the number of bytes
of the UCS2 path consumed not counting any
terminating null. We need to convert
back to unix charset and count again
to get the number of bytes consumed from
the incoming path.
source3/include/proto.h
source3/libsmb/clidfs.c