aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-credssp.c
diff options
context:
space:
mode:
authorIsaac Boukris <iboukris@gmail.com>2021-05-16 21:11:46 +0300
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-06-08 17:36:44 +0000
commit2764f53e20398b68b4e074659d79ecde8b108190 (patch)
tree865a68788dc3ecf0e6641040c763c003e0ddc8cc /epan/dissectors/packet-credssp.c
parent9147201351d591aa1f12d8fcbe319c117d0c5801 (diff)
credssp: fix dissect_credssp_heur() with modern clients (using version 6)
Diffstat (limited to 'epan/dissectors/packet-credssp.c')
-rw-r--r--epan/dissectors/packet-credssp.c2
1 files changed, 1 insertions, 1 deletions
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);