summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-27 20:16:00 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-27 20:16:00 +1000
commit6cdfbd838094749557ee752fee23579ce71a0d53 (patch)
treee59ba6b9b1ef44428f6624b3d387a7829a05c231
parented3a095a5ae51d4826d79787fff03cf665319fe9 (diff)
downloadsamba-6cdfbd838094749557ee752fee23579ce71a0d53.tar.gz
samba-6cdfbd838094749557ee752fee23579ce71a0d53.tar.bz2
samba-6cdfbd838094749557ee752fee23579ce71a0d53.zip
fixed uninitialised variable
(This used to be commit 8d2e20fcb984c122fbf98cfe712b3145941d881d)
-rw-r--r--source4/torture/smb2/create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smb2/create.c b/source4/torture/smb2/create.c
index 87a53ed7cf..9c9e7e2997 100644
--- a/source4/torture/smb2/create.c
+++ b/source4/torture/smb2/create.c
@@ -129,7 +129,7 @@ bool torture_smb2_create_gentest(struct torture_context *torture, struct smb2_tr
io.in.create_disposition = NTCREATEX_DISP_OPEN_IF;
io.in.desired_access = SEC_FLAG_MAXIMUM_ALLOWED;
io.in.file_attributes = 0;
- access_mask = 0;
+ file_attributes = 0;
denied_mask = 0;
{
int i;
@@ -149,7 +149,7 @@ bool torture_smb2_create_gentest(struct torture_context *torture, struct smb2_tr
}
}
- CHECK_EQUAL(file_attributes, 0xffffbd48);
+ CHECK_EQUAL(file_attributes, 0xffff8048);
CHECK_EQUAL(denied_mask, 0x4000);
smb2_deltree(tree, FNAME);