r7412: Now we're not memset'ing ensure we're valgrind clean.
authorJeremy Allison <jra@samba.org>
Wed, 8 Jun 2005 20:52:42 +0000 (20:52 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:57:08 +0000 (10:57 -0500)
Jeremy.
(This used to be commit 0d303ab2f30f6047fc3f2f6fc4916e93704959d2)

source3/smbd/trans2.c

index 77c20310acd5519d2e5f5b90b0e9c92a153921d8..ebb46a23b26516ed036f7d72dbeff73d873cc02c 100644 (file)
@@ -3094,6 +3094,7 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd
                        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);