From 86a888bc0d936bf8a757165292bb2cdb45f760a0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 19 Jun 2012 08:24:23 +0000 Subject: Set save_fragmented at the beginning of the routine, so it can always be used at the end to restore pinfo->fragmented. svn path=/trunk/; revision=43350 --- epan/dissectors/packet-smb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'epan') diff --git a/epan/dissectors/packet-smb.c b/epan/dissectors/packet-smb.c index 142a46ab3f..05ca312a71 100644 --- a/epan/dissectors/packet-smb.c +++ b/epan/dissectors/packet-smb.c @@ -8865,6 +8865,8 @@ dissect_nt_transaction_request(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree tvbuff_t *pd_tvb=NULL; gboolean save_fragmented; + save_fragmented = pinfo->fragmented; + ntd.subcmd = ntd.sd_len = ntd.ea_len = 0; si = (smb_info_t *)pinfo->private_data; @@ -9014,7 +9016,6 @@ dissect_nt_transaction_request(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree In this section we do reassembly of both the data and parameters blocks of the SMB transaction command. */ - save_fragmented = pinfo->fragmented; /* do we need reassembly? */ if( (td&&(td!=dc)) || (tp&&(tp!=pc)) ){ /* oh yeah, either data or parameter section needs -- cgit v1.2.3