summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-07-01 13:02:43 +0200
committerJeremy Allison <jra@samba.org>2013-07-02 12:30:28 -0700
commitd295e18409a2e18e52c5bb76fec0e0540b6199cf (patch)
treed76359fd3bbcaceeb74b5bb6f6f685b6afa060e7 /source4
parent474eee0df7893a3a4546e1c6ea47220700c5b99f (diff)
downloadsamba-d295e18409a2e18e52c5bb76fec0e0540b6199cf.tar.gz
samba-d295e18409a2e18e52c5bb76fec0e0540b6199cf.tar.bz2
samba-d295e18409a2e18e52c5bb76fec0e0540b6199cf.zip
torture: Don't segfault in raw.session on error.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/raw/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/session.c b/source4/torture/raw/session.c
index fbfdced2f8..1937ef7a78 100644
--- a/source4/torture/raw/session.c
+++ b/source4/torture/raw/session.c
@@ -240,7 +240,7 @@ static bool test_session_expire1(struct torture_context *tctx)
char fname[256];
union smb_fileinfo qfinfo;
uint16_t vuid;
- uint16_t fnum;
+ uint16_t fnum = 0;
struct smb_composite_sesssetup io_sesssetup;
size_t i;