svn commit: samba r7412 - in branches/SAMBA_3_0/source/smbd: .

jra at samba.org jra at samba.org
Wed Jun 8 20:52:43 GMT 2005


Author: jra
Date: 2005-06-08 20:52:42 +0000 (Wed, 08 Jun 2005)
New Revision: 7412

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

Log:
Now we're not memset'ing ensure we're valgrind clean.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/trans2.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/trans2.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/trans2.c	2005-06-08 20:52:14 UTC (rev 7411)
+++ branches/SAMBA_3_0/source/smbd/trans2.c	2005-06-08 20:52:42 UTC (rev 7412)
@@ -3094,6 +3094,7 @@
 			put_long_date(pdata+16,sbuf.st_mtime); /* write time */
 			put_long_date(pdata+24,sbuf.st_mtime); /* change time */
 			SIVAL(pdata,32,mode);
+			SIVAL(pdata,36,0); /* padding. */
 			pdata += 40;
 			SOFF_T(pdata,0,allocation_size);
 			SOFF_T(pdata,8,file_size);



More information about the samba-cvs mailing list