diff options
-rw-r--r-- | epan/dissectors/packet-gsm_a_common.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-gsm_a_dtap.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_common.c b/epan/dissectors/packet-gsm_a_common.c index b7df1416e3..6e95f52fc7 100644 --- a/epan/dissectors/packet-gsm_a_common.c +++ b/epan/dissectors/packet-gsm_a_common.c @@ -760,7 +760,7 @@ static expert_field ei_gsm_a_format_not_supported = EI_INIT; static expert_field ei_gsm_a_mobile_identity_type = EI_INIT; static expert_field ei_gsm_a_ie_length_too_short = EI_INIT; -sccp_assoc_info_t* sccp_assoc; +sccp_assoc_info_t* sccp_assoc = NULL; #define NUM_GSM_COMMON_ELEM (sizeof(gsm_common_elem_strings)/sizeof(value_string)) gint ett_gsm_common_elem[NUM_GSM_COMMON_ELEM]; diff --git a/epan/dissectors/packet-gsm_a_dtap.c b/epan/dissectors/packet-gsm_a_dtap.c index 27c2cde468..c37dd3c500 100644 --- a/epan/dissectors/packet-gsm_a_dtap.c +++ b/epan/dissectors/packet-gsm_a_dtap.c @@ -7133,6 +7133,8 @@ dissect_dtap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) (*dtap_msg_fcn)(tvb, dtap_tree, pinfo, offset, len - offset); } + sccp_assoc = NULL; + return len; } |