diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-05-25 11:14:51 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-05-25 11:33:49 +0000 |
commit | 7ca84f3c90dacf5c955ad76c51a8bcedfee52127 (patch) | |
tree | 3d0af4a2f1859be599faab9216068728f2b8a3e2 /epan | |
parent | 5a56cf6d80f9bcc7b8feaca7e990b23b217a79c2 (diff) |
umts_fp: Fix Dereference of null pointer found by Clang analyzer
Change-Id: I9b35429d7599c95e0231cec835ac3cd1fca6b06b
Reviewed-on: https://code.wireshark.org/review/21752
Reviewed-by: sswsdev <sswsdev@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-umts_fp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c index e5d6435e6e..2ecd149cc0 100644 --- a/epan/dissectors/packet-umts_fp.c +++ b/epan/dissectors/packet-umts_fp.c @@ -5260,6 +5260,7 @@ update_pch_coversation_info(umts_fp_conversation_info_t *p_conv_data, packet_inf { fp_pch_channel_info_t* fp_pch_channel_info; /* The channel type MUST be set to PCH */ + DISSECTOR_ASSERT(p_conv_data); DISSECTOR_ASSERT(p_conv_data->channel == CHANNEL_PCH); fp_pch_channel_info = (fp_pch_channel_info_t*)p_conv_data->channel_specific_info; |