From bb158b74da65edc5ed8ed9fdbcb77ffae373df2e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 8 Jul 2006 08:18:55 +0000 Subject: r16871: zero padding bytes (found by valgrind) metze (This used to be commit 283bec8295b6302dfe3dc12c82d7870bdfee8b37) --- source4/smb_server/blob.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/smb_server') diff --git a/source4/smb_server/blob.c b/source4/smb_server/blob.c index a456e04b34..2cdf1aac05 100644 --- a/source4/smb_server/blob.c +++ b/source4/smb_server/blob.c @@ -482,6 +482,7 @@ NTSTATUS smbsrv_push_passthru_fileinfo(TALLOC_CTX *mem_ctx, SIVAL(blob->data, 0x38, st->all_info2.out.nlink); SCVAL(blob->data, 0x3C, st->all_info2.out.delete_pending); SCVAL(blob->data, 0x3D, st->all_info2.out.directory); + SSVAL(blob->data, 0x3E, 0); /* padding */ SBVAL(blob->data, 0x40, st->all_info2.out.file_id); SIVAL(blob->data, 0x48, st->all_info2.out.ea_size); SIVAL(blob->data, 0x4C, st->all_info2.out.access_mask); -- cgit