diff options
author | Andreas Schneider <asn@samba.org> | 2013-07-01 13:02:43 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2013-07-04 09:33:29 +0200 |
commit | 096ff2e977694d1042567fb4b3bb97d9c8122eb7 (patch) | |
tree | d76359fd3bbcaceeb74b5bb6f6f685b6afa060e7 | |
parent | 67c8f87c777d850cf9ec0080b4daa09adf40ec55 (diff) | |
download | samba-096ff2e977694d1042567fb4b3bb97d9c8122eb7.tar.gz samba-096ff2e977694d1042567fb4b3bb97d9c8122eb7.tar.bz2 samba-096ff2e977694d1042567fb4b3bb97d9c8122eb7.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>
(cherry picked from commit d295e18409a2e18e52c5bb76fec0e0540b6199cf)
-rw-r--r-- | source4/torture/raw/session.c | 2 |
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; |