aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2020-01-23 09:59:29 -0800
committerAnders Broman <a.broman58@gmail.com>2020-01-24 05:10:21 +0000
commitdb6c3b8e15053002fdc9754673ba2133ad710788 (patch)
tree62833a3cbc201ca658705cece6f92f3243bb2a7a /epan/dissectors/asn1
parentd7d14f230f6582f052d8b930df860e87786c133d (diff)
IDMP: Reset a couple of variables.
Reset protocolID and opcode during cleanup. Blind attempt at fixing bug 16342. Bug: 16342 Change-Id: Icafc0e201a6e24d2df22287b62cdc4cfeef0c1f3 Reviewed-on: https://code.wireshark.org/review/35925 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/asn1')
-rw-r--r--epan/dissectors/asn1/idmp/packet-idmp-template.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/asn1/idmp/packet-idmp-template.c b/epan/dissectors/asn1/idmp/packet-idmp-template.c
index 5359f389e3..978b850434 100644
--- a/epan/dissectors/asn1/idmp/packet-idmp-template.c
+++ b/epan/dissectors/asn1/idmp/packet-idmp-template.c
@@ -234,7 +234,9 @@ static int dissect_idmp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *paren
static void idmp_reassemble_cleanup(void)
{
+ protocolID = NULL;
saved_protocolID = NULL;
+ opcode = -1;
}
/*--- proto_register_idmp -------------------------------------------*/