1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

torture: Don't segfault in raw.session on error.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andreas Schneider 2013-07-01 13:02:43 +02:00 committed by Jeremy Allison
parent 474eee0df7
commit d295e18409

View File

@ -240,7 +240,7 @@ static bool test_session_expire1(struct torture_context *tctx)
char fname[256]; char fname[256];
union smb_fileinfo qfinfo; union smb_fileinfo qfinfo;
uint16_t vuid; uint16_t vuid;
uint16_t fnum; uint16_t fnum = 0;
struct smb_composite_sesssetup io_sesssetup; struct smb_composite_sesssetup io_sesssetup;
size_t i; size_t i;