aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_rr.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2010-03-30 21:12:52 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2010-03-30 21:12:52 +0000
commit93c04b04a7a40c99f6c2502e2f97ef333f34a0e8 (patch)
tree3a3a3c279a180f8b3db1172ffda8831a31970695 /epan/dissectors/packet-gsm_a_rr.c
parent5b1c51bd209901f7103aab7338ee7ca4b18dc22f (diff)
Temporary (?) fix for bug 4623.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32327 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rr.c')
-rw-r--r--epan/dissectors/packet-gsm_a_rr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gsm_a_rr.c b/epan/dissectors/packet-gsm_a_rr.c
index 23802bec9b..bb170926bc 100644
--- a/epan/dissectors/packet-gsm_a_rr.c
+++ b/epan/dissectors/packet-gsm_a_rr.c
@@ -1859,7 +1859,7 @@ de_rr_utran_cm(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar
if (len)
{
rrc_irat_ho_info_tvb = tvb_new_subset(tvb, curr_offset, len, len);
- if (rrc_irat_ho_info_handle)
+ if (rrc_irat_ho_info_handle && gsm_a_dtap_pinfo)
/* gsm_a_dtap_pinfo MUST be set by any dissector calling de_rr_utran_cm */
call_dissector(rrc_irat_ho_info_handle, rrc_irat_ho_info_tvb, gsm_a_dtap_pinfo, tree);
}
@@ -6324,7 +6324,7 @@ de_rr_ho_to_utran_cmd(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len
if (len)
{
rrc_irat_ho_to_utran_cmd_tvb = tvb_new_subset(tvb, curr_offset, len, len);
- if (rrc_irat_ho_to_utran_cmd_handle)
+ if (rrc_irat_ho_to_utran_cmd_handle && gsm_a_dtap_pinfo)
/* gsm_a_dtap_pinfo MUST be set by any dissector calling de_rr_ho_to_utran_cmd */
call_dissector(rrc_irat_ho_to_utran_cmd_handle, rrc_irat_ho_to_utran_cmd_tvb, gsm_a_dtap_pinfo, tree);
}