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

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

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

Modified:
   trunk/source/smbd/trans2.c


Changeset:
Modified: trunk/source/smbd/trans2.c
===================================================================
--- trunk/source/smbd/trans2.c  2005-06-08 20:30:50 UTC (rev 7410)
+++ trunk/source/smbd/trans2.c  2005-06-08 20:52:14 UTC (rev 7411)
@@ -3096,6 +3096,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);

Reply via email to