git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc9ea93
)
r15670: Fix valgrind-spotted issue in BASE-DELETE test.
author
Jeremy Allison
<jra@samba.org>
Thu, 18 May 2006 00:22:07 +0000
(
00:22
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:17:06 +0000
(11:17 -0500)
We were forgetting to increment after copying
the primary group gid.
Jeremy
(This used to be commit
31d16c434e1ee94691f013ed0b31d9f26baeb2cb
)
source3/locking/locking.c
patch
|
blob
|
history
diff --git
a/source3/locking/locking.c
b/source3/locking/locking.c
index 2766b257be2b7215e0ddb4f4ff9304a67870001c..a532a90d0d442c5b98fda83c271c3a8e37ed824d 100644
(file)
--- a/
source3/locking/locking.c
+++ b/
source3/locking/locking.c
@@
-665,6
+665,7
@@
static TDB_DATA unparse_share_modes(struct share_mode_lock *lck)
p += sizeof(uid_t);
memcpy(p, &lck->delete_token->gid, sizeof(gid_t));
+ p += sizeof(gid_t);
for (i = 0; i < lck->delete_token->ngroups; i++) {
memcpy(p, &lck->delete_token->groups[i], sizeof(gid_t));