aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2008-04-30 10:59:48 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2008-04-30 10:59:48 +0000
commit40b433984b44514a33971ec5553c140096f4197c (patch)
tree147b2ca4db00f665f800cba7eadfb925b7c89363 /plugins
parent6e9d862cd8bc72f991eade73dad9fb6bc42fe85e (diff)
Now with EAP dissector safety valve.
svn path=/trunk/; revision=25204
Diffstat (limited to 'plugins')
-rw-r--r--plugins/wimax/wimax_utils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/wimax/wimax_utils.c b/plugins/wimax/wimax_utils.c
index 5626034e4e..a2505937f6 100644
--- a/plugins/wimax/wimax_utils.c
+++ b/plugins/wimax/wimax_utils.c
@@ -2949,7 +2949,10 @@ void wimax_pkm_tlv_encoded_attributes_decoder(tvbuff_t *tvb, packet_info *pinfo,
break;
case PKM_ATTR_PKM_EAP_PAYLOAD:
tlv_tree = add_tlv_subtree(&tlv_info, ett_pkm_tlv_encoded_attributes_decoder, tree, hf_pkm_attr_eap_payload, tvb, offset, tlv_len, FALSE);
- call_dissector(eap_handle, tvb_new_subset(tvb, offset, tlv_len, tlv_len), pinfo, tlv_tree);
+ if (eap_handle)
+ call_dissector(eap_handle, tvb_new_subset(tvb, offset, tlv_len, tlv_len), pinfo, tlv_tree);
+ else
+ proto_tree_add_item(tlv_tree, hf_pkm_attr_eap_payload, tvb, offset, tlv_len, FALSE);
break;
case PKM_ATTR_PKM_NONCE:
tlv_tree = add_tlv_subtree(&tlv_info, ett_pkm_tlv_encoded_attributes_decoder, tree, hf_pkm_attr_nonce, tvb, offset, tlv_len, FALSE);