diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2012-03-21 09:49:35 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2012-03-21 09:49:35 +0000 |
commit | f5822cdd9e6372626886e2e6da40dd014f98441a (patch) | |
tree | 468ba118b2e810ce780167b9a0b84f55ff4e9916 /epan/dissectors/packet-isakmp.c | |
parent | 98cd9c9ebb6107337772e18e97cb9f61e601e528 (diff) |
From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6972
ISAKMP : VendorID CheckPoint : Malformed Packet
Wrong minimum length when there is not CheckPoint "Data" after VendorID
svn path=/trunk/; revision=41718
Diffstat (limited to 'epan/dissectors/packet-isakmp.c')
-rw-r--r-- | epan/dissectors/packet-isakmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c index b2dc43b879..87b968d2c4 100644 --- a/epan/dissectors/packet-isakmp.c +++ b/epan/dissectors/packet-isakmp.c @@ -4036,7 +4036,7 @@ dissect_vid(tvbuff_t *tvb, int offset, int length, proto_tree *tree) proto_item_append_text(tree," : %s", vendorstring); /* Check Point VID */ - if (length >= 20 && memcmp(pVID, VID_CP, 20) == 0) + if (length >= 24 && memcmp(pVID, VID_CP, 20) == 0) { offset += 20; proto_tree_add_item(tree, hf_isakmp_vid_cp_product, tvb, offset, 4, ENC_BIG_ENDIAN); |