Fix bug that assumed dos_unistr2 length was in ucs2 units, not bytes.
commitc3f77083fc6dffe29754b628f141b0fc19c5b932
authorJeremy Allison <jra@samba.org>
Tue, 5 Nov 2002 19:05:10 +0000 (5 19:05 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 5 Nov 2002 19:05:10 +0000 (5 19:05 +0000)
tree7086f8e873cd127998eb50a9de6457b37ee4a478
parent194e35da6225fac83a2652ba3151e1ecbc3088e4
Fix bug that assumed dos_unistr2 length was in ucs2 units, not bytes.
Fixes crash in smbpasswd command.
Jeremy.
source/lib/util_unistr.c
source/libsmb/smbencrypt.c
source/msdfs/msdfs.c
source/rpc_parse/parse_misc.c