summaryrefslogtreecommitdiffstats
path: root/source4
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-02-28 05:33:23 +0100
committerMichael Adam <obnox@samba.org>2012-02-28 08:33:44 +0100
commitd92b955cca3adf25de7d58cf7c0b8ff110eb736c (patch)
tree33201ebae581521560bad1044ebe0eb1162045a0 /source4
parent43dd03361882af335c6b5d6989ad3894621b5039 (diff)
downloadsamba-d92b955cca3adf25de7d58cf7c0b8ff110eb736c.tar.gz
samba-d92b955cca3adf25de7d58cf7c0b8ff110eb736c.tar.xz
samba-d92b955cca3adf25de7d58cf7c0b8ff110eb736c.zip
s4:torture:smb2:durable-open: fix a silly access-after-free panic
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 28 08:33:44 CET 2012 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/smb2/durable_open.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c
index 6a3f52b3810..d667861804c 100644
--- 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;