[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Wed Jan 26 10:33:02 MST 2011
The branch, master has been updated
via bb358ec From Metze - make sure we're using the same string length for the hash.
from abb7c07 s3-winbind: share a common winbind_samlogon_retry_loop().
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit bb358ecd5aade909b892f002d498d4cb7b23789a
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jan 26 08:43:43 2011 -0800
From Metze - make sure we're using the same string length for the hash.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Jan 26 18:32:15 CET 2011 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/libsmb/smb_share_modes.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libsmb/smb_share_modes.c b/source3/libsmb/smb_share_modes.c
index 9392349..fd5f0ea 100644
--- a/source3/libsmb/smb_share_modes.c
+++ b/source3/libsmb/smb_share_modes.c
@@ -277,7 +277,7 @@ static uint32_t smb_name_hash(const char *sharepath, const char *filename, int *
return 0;
}
key.dptr = (uint8_t *)fullpath;
- key.dsize = strlen(fullpath);
+ key.dsize = strlen(fullpath) + 1;
name_hash = tdb_jenkins_hash(&key);
free(fullpath);
return name_hash;
--
Samba Shared Repository
More information about the samba-cvs
mailing list