git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43dd033
)
s4:torture:smb2:durable-open: fix a silly access-after-free panic
author
Michael Adam
<obnox@samba.org>
Tue, 28 Feb 2012 04:33:23 +0000
(
05:33
+0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 28 Feb 2012 07:33:44 +0000
(08:33 +0100)
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Feb 28 08:33:44 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 6a3f52b3810f38bab6e95821171d5f49658d08a3..d667861804c711fd0dff30eeb1efc8c556d4d11f 100644
(file)
--- a/
source4/torture/smb2/durable_open.c
+++ b/
source4/torture/smb2/durable_open.c
@@
-651,13
+651,6
@@
bool test_durable_open_reopen4(struct torture_context *tctx,
*/
TALLOC_FREE(tree);
- ZERO_STRUCT(io2);
- io2.in.fname = fname;
- io2.in.durable_handle = h;
-
- status = smb2_create(tree, mem_ctx, &io2);
- CHECK_STATUS(status, NT_STATUS_NETWORK_NAME_DELETED);
-
if (!torture_smb2_tree_connect(tctx, session2, mem_ctx, &tree2)) {
torture_warning(tctx, "tree connect failed.\n");
ret = false;