git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
096ff2e
)
torture: Don't segfault in smb2.session on error.
author
Andreas Schneider
<asn@samba.org>
Mon, 1 Jul 2013 11:02:44 +0000
(13:02 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 4 Jul 2013 07:33:29 +0000
(09:33 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
bf5bc723da0605c7bc796f5e047e3f041db0b943
)
source4/torture/smb2/session.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/session.c
b/source4/torture/smb2/session.c
index 9592b5ef8dcf4d30fcb390c8217a8a644dceec7c..6901f47300e369bdc0bffddec48909b02ffec2c8 100644
(file)
--- a/
source4/torture/smb2/session.c
+++ b/
source4/torture/smb2/session.c
@@
-863,7
+863,7
@@
static bool test_session_expire1(struct torture_context *tctx)
const char *host = torture_setting_string(tctx, "host", NULL);
const char *share = torture_setting_string(tctx, "share", NULL);
struct cli_credentials *credentials = cmdline_credentials;
- struct smb2_tree *tree;
+ struct smb2_tree *tree
= NULL
;
enum credentials_use_kerberos use_kerberos;
char fname[256];
struct smb2_handle _h1;