svn commit: samba r15670 - in branches/SAMBA_3_0/source/locking: .

jra at samba.org jra at samba.org
Thu May 18 00:22:09 GMT 2006


Author: jra
Date: 2006-05-18 00:22:07 +0000 (Thu, 18 May 2006)
New Revision: 15670

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15670

Log:
Fix valgrind-spotted issue in BASE-DELETE test.
We were forgetting to increment after copying
the primary group gid.
Jeremy

Modified:
   branches/SAMBA_3_0/source/locking/locking.c


Changeset:
Modified: branches/SAMBA_3_0/source/locking/locking.c
===================================================================
--- branches/SAMBA_3_0/source/locking/locking.c	2006-05-17 23:15:54 UTC (rev 15669)
+++ branches/SAMBA_3_0/source/locking/locking.c	2006-05-18 00:22:07 UTC (rev 15670)
@@ -665,6 +665,7 @@
 		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));



More information about the samba-cvs mailing list