From 2764f53e20398b68b4e074659d79ecde8b108190 Mon Sep 17 00:00:00 2001 From: Isaac Boukris Date: Sun, 16 May 2021 21:11:46 +0300 Subject: credssp: fix dissect_credssp_heur() with modern clients (using version 6) --- epan/dissectors/packet-credssp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-credssp.c') diff --git a/epan/dissectors/packet-credssp.c b/epan/dissectors/packet-credssp.c index d0c1398bce..11f5961e7f 100644 --- a/epan/dissectors/packet-credssp.c +++ b/epan/dissectors/packet-credssp.c @@ -367,7 +367,7 @@ dissect_credssp_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, if((ber_class == BER_CLASS_UNI) && (tag == BER_UNI_TAG_INTEGER)) { offset = get_ber_length(tvb, offset, &length, NULL); ver = tvb_get_guint8(tvb, offset); - if((length == 1) && ((ver == 2) || (ver == 3))) { + if((length == 1) && (ver > 1) && (ver < 99)) { if (have_tap_listener(exported_pdu_tap)) { exp_pdu_data_t *exp_pdu_data = export_pdu_create_common_tags(pinfo, "credssp", EXP_PDU_TAG_PROTO_NAME); -- cgit v1.2.3