diff options
author | Michael Adam <obnox@samba.org> | 2012-02-23 15:49:51 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-02-27 03:44:16 +0100 |
commit | 8e947f0f5d56969527a40d8148fb773e8c69ea84 (patch) | |
tree | 058783e83ae8ca8f3acd496eea1caf4c94076ffb /source4/torture | |
parent | 6deec81b8e89e7a525925952159cbb45e5d28647 (diff) | |
download | samba-8e947f0f5d56969527a40d8148fb773e8c69ea84.tar.gz samba-8e947f0f5d56969527a40d8148fb773e8c69ea84.tar.bz2 samba-8e947f0f5d56969527a40d8148fb773e8c69ea84.zip |
s4:torture:smb2:durable-open: prevent using a disconnected handle in reopen4
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Feb 27 03:44:16 CET 2012 on sn-devel-104
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/smb2/durable_open.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c index 22c0176025..3d4744d1de 100644 --- 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); |