diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-03-03 18:07:47 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-03-03 18:07:47 +0000 |
commit | 9056148f202499737dc4b548b9f6117d39e33953 (patch) | |
tree | 7ebbaa11e40aa32f89619742e7a87a8b24c3a092 /epan/dissectors/packet-radius.c | |
parent | 0d919949cb466e9611db0933b008b5ed84be8566 (diff) |
Fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2257
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24533 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-radius.c')
-rw-r--r-- | epan/dissectors/packet-radius.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-radius.c b/epan/dissectors/packet-radius.c index 5a149d970f..0d4d96dabf 100644 --- a/epan/dissectors/packet-radius.c +++ b/epan/dissectors/packet-radius.c @@ -535,7 +535,7 @@ static void add_avp_to_tree(proto_tree* avp_tree, proto_item* avp_item, packet_i if (dictionary_entry->tagged) { guint tag; - if (avp_length < 3) { + if (avp_length == 0) { pi = proto_tree_add_text(avp_tree, tvb, offset, 0, "AVP too short for tag"); PROTO_ITEM_SET_GENERATED(pi); |