diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-13 12:17:20 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-13 12:17:20 +0000 |
commit | 97fda7386c87b840410a1804feee134ab0572276 (patch) | |
tree | 66c52a570008a888b865b335d2aee1499eeabe9f /epan/dissectors/packet-gsm_a_rr.c | |
parent | e7ed279da9416d5e46ab467d23d0ceda16aed7dd (diff) |
Make sure that we find the "data" dissector during handoff else we might crash if the received payload was less than 2 bytes.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3893
svn path=/trunk/; revision=29403
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rr.c')
-rw-r--r-- | epan/dissectors/packet-gsm_a_rr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-gsm_a_rr.c b/epan/dissectors/packet-gsm_a_rr.c index f32f3616f2..65e09417ec 100644 --- a/epan/dissectors/packet-gsm_a_rr.c +++ b/epan/dissectors/packet-gsm_a_rr.c @@ -10154,6 +10154,7 @@ proto_register_gsm_a_rr(void) void proto_reg_handoff_gsm_a_rr(void) { + data_handle = find_dissector("data"); rrc_irat_ho_info_handle = find_dissector("rrc.irat.irat_ho_info"); rrc_irat_ho_to_utran_cmd_handle = find_dissector("rrc.irat.ho_to_utran_cmd"); } |