git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6deec81
)
s4:torture:smb2:durable-open: prevent using a disconnected handle in reopen4
author
Michael Adam
<obnox@samba.org>
Thu, 23 Feb 2012 14:49:51 +0000
(15:49 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 27 Feb 2012 02:44:16 +0000
(
03:44
+0100)
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Feb 27 03:44:16 CET 2012 on sn-devel-104
source4/torture/smb2/durable_open.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/durable_open.c
b/source4/torture/smb2/durable_open.c
index 22c017602583735b1d0d6ffc9f091d8fae7a8898..3d4744d1de09d702a3c0effda67f0431617b0ae8 100644
(file)
--- a/
source4/torture/smb2/durable_open.c
+++ b/
source4/torture/smb2/durable_open.c
@@
-588,6
+588,7
@@
bool test_durable_open_reopen4(struct torture_context *tctx,
ZERO_STRUCT(io2);
io2.in.fname = fname;
io2.in.durable_handle = h;
+ h = NULL;
status = smb2_create(tree2, mem_ctx, &io2);
CHECK_STATUS(status, NT_STATUS_OK);