summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-06-08 20:52:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:08 -0500
commit66bb4f03c3466205488f72e4878e8801c5bbb295 (patch)
tree209f799c7caa78eb19c076b6875626d2e446f19c /source3
parentdacdfbc98ccb533626058745f4aacef0b0b36286 (diff)
downloadsamba-66bb4f03c3466205488f72e4878e8801c5bbb295.tar.gz
samba-66bb4f03c3466205488f72e4878e8801c5bbb295.tar.bz2
samba-66bb4f03c3466205488f72e4878e8801c5bbb295.zip
r7412: Now we're not memset'ing ensure we're valgrind clean.
Jeremy. (This used to be commit 0d303ab2f30f6047fc3f2f6fc4916e93704959d2)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 77c20310ac..ebb46a23b2 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -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);