summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-08-25 04:03:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:20 -0500
commitc595ec9936fdf8f087cdb6682cb53f47d4cb31a0 (patch)
treeac34d12d99387dde889a8e171b096a34a5d3bee1 /source4/smb_server
parent716e6c1efb55f6fdc01f63cf703b46464da609b2 (diff)
downloadsamba-c595ec9936fdf8f087cdb6682cb53f47d4cb31a0.tar.gz
samba-c595ec9936fdf8f087cdb6682cb53f47d4cb31a0.tar.bz2
samba-c595ec9936fdf8f087cdb6682cb53f47d4cb31a0.zip
r2044: fixed two unin
(This used to be commit d17e088ebbf1fd0dd2ef2d73115c7f458677d02f)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/trans2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/smb_server/trans2.c b/source4/smb_server/trans2.c
index 5f73dc7497..c6b98b85d3 100644
--- a/source4/smb_server/trans2.c
+++ b/source4/smb_server/trans2.c
@@ -262,6 +262,7 @@ static NTSTATUS trans2_qfsinfo(struct smbsrv_request *req, struct smb_trans2 *tr
push_nttime(trans->out.data.data, 0, fsinfo.volume_info.out.create_time);
SIVAL(trans->out.data.data, 8, fsinfo.volume_info.out.serial_number);
+ SSVAL(trans->out.data.data, 16, 0); /* padding */
trans2_append_data_string(req, trans,
&fsinfo.volume_info.out.volume_name,
12, STR_UNICODE);
@@ -555,6 +556,7 @@ static NTSTATUS trans2_fileinfo_fill(struct smbsrv_request *req, struct smb_tran
push_nttime(trans->out.data.data, 16, st->all_info.out.write_time);
push_nttime(trans->out.data.data, 24, st->all_info.out.change_time);
SIVAL(trans->out.data.data, 32, st->all_info.out.attrib);
+ SIVAL(trans->out.data.data, 36, 0);
SBVAL(trans->out.data.data, 40, st->all_info.out.alloc_size);
SBVAL(trans->out.data.data, 48, st->all_info.out.size);
SIVAL(trans->out.data.data, 56, st->all_info.out.nlink);