Fix bug #7154 - mangling method = hash can crash storing a name not containing a '.'
authorJeremy Allison <jra@samba.org>
Thu, 18 Feb 2010 19:22:44 +0000 (11:22 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 22 Feb 2010 14:50:35 +0000 (15:50 +0100)
commit678672b787cbddf5cf31fd2acf6e11a239d5a57b
tree99ea2f5b0261fba34503cea6c9757f928f82420d
parentcf789124b2f29f999de1519df0e8698345104bcb
Fix bug #7154 - mangling method = hash can crash storing a name not containing a '.'

Fix use of uninitialized variable. This can lead to crashes if
mangling = hash processes names with no '.'.

Jeremy.
(cherry picked from commit df13b1303a751962d8f7d5298b39e4a7500fef15)
(cherry picked from commit 7eaeb891c8aee880fb06733f998b2feb95ef9c36)
source3/smbd/mangle_hash.c