Fix bug 7005 - mangle method = hash truncates files with dot '. ' character
authorJeremy Allison <jra@samba.org>
Tue, 22 Dec 2009 05:16:15 +0000 (21:16 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 13 Jan 2010 13:01:05 +0000 (14:01 +0100)
commitff8ab11dacb7e4f4c2cba76af46de88f24336309
tree039150f96b06a64dd82c5c76c5fd092692801438
parent9aab74eaca37b49ad9453d64ede85651f56280b6
Fix bug 7005 - mangle method = hash truncates files with dot '. ' character

Don't change the contents of a const string via a pointer
alias (or if you do, change it back.....).

Jeremy.
(cherry picked from commit e3be5ddae764fae7ff4a3ef502e8461d0535bdc5)
source/smbd/mangle_hash.c