Fix bug #7154 - mangling method = hash can crash storing a name not containing a '.'
commit13b11ec1cd78d9b84117d07083ca7b0ae8ddb8e8
authorJeremy Allison <jra@samba.org>
Thu, 18 Feb 2010 19:22:44 +0000 (18 11:22 -0800)
committerKarolin Seeger <kseeger@samba.org>
Fri, 19 Feb 2010 13:32:29 +0000 (19 14:32 +0100)
treedecce76e366722e10039dfb537ae0286adf5bf91
parent3f2d27f7b3a4528be5dc58b4bb05201c6ffc4825
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 7122d0e97ca9edeea28c9e898e77f576a886471e)
source3/smbd/mangle_hash.c