git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed3a095
)
fixed uninitialised variable
author
Andrew Tridgell
<tridge@samba.org>
Tue, 27 May 2008 10:16:00 +0000
(20:16 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 27 May 2008 10:16:00 +0000
(20:16 +1000)
(This used to be commit
8d2e20fcb984c122fbf98cfe712b3145941d881d
)
source4/torture/smb2/create.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/create.c
b/source4/torture/smb2/create.c
index 87a53ed7cf7d777af03caa3b13b7fbda96e1416f..9c9e7e29977e0dc7d1ce06fb698155783f047412 100644
(file)
--- 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, 0xffff
bd
48);
+ CHECK_EQUAL(file_attributes, 0xffff
80
48);
CHECK_EQUAL(denied_mask, 0x4000);
smb2_deltree(tree, FNAME);