summaryrefslogtreecommitdiffstats
path: root/source4/libcli/raw
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-08 08:18:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:55 -0500
commitbb158b74da65edc5ed8ed9fdbcb77ffae373df2e (patch)
tree1357a0c3fdda1c9ca3a46bb8dc4000b5e20c54d3 /source4/libcli/raw
parentf0f7070ad70c73a1e5c2cf7c5111e39c372845cd (diff)
downloadsamba-bb158b74da65edc5ed8ed9fdbcb77ffae373df2e.tar.gz
samba-bb158b74da65edc5ed8ed9fdbcb77ffae373df2e.tar.xz
samba-bb158b74da65edc5ed8ed9fdbcb77ffae373df2e.zip
r16871: zero padding bytes
(found by valgrind) metze (This used to be commit 283bec8295b6302dfe3dc12c82d7870bdfee8b37)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r--source4/libcli/raw/rawfileinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/raw/rawfileinfo.c b/source4/libcli/raw/rawfileinfo.c
index 67cad83c6d..38f4d12369 100644
--- a/source4/libcli/raw/rawfileinfo.c
+++ b/source4/libcli/raw/rawfileinfo.c
@@ -234,6 +234,7 @@ NTSTATUS smb_raw_fileinfo_passthru_parse(const DATA_BLOB *blob, TALLOC_CTX *mem_
parms->all_info2.out.nlink = IVAL(blob->data, 0x38);
parms->all_info2.out.delete_pending = CVAL(blob->data, 0x3C);
parms->all_info2.out.directory = CVAL(blob->data, 0x3D);
+ /* 0x3E-0x3F padding */
parms->all_info2.out.file_id = BVAL(blob->data, 0x40);
parms->all_info2.out.ea_size = IVAL(blob->data, 0x48);
parms->all_info2.out.access_mask = IVAL(blob->data, 0x4C);