diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-06-19 03:23:31 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-06-19 03:23:31 +0000 |
commit | d9b5210c617428c712bbc254ee69a3067cd6ed40 (patch) | |
tree | 1b0cd9311e8d9cc479af7cb8de73f2bfb2b1b420 /asn1 | |
parent | 2bb61fc8cef2ef668058eaa731efee637a09147e (diff) |
Fix CID 712341: Dereference null return value (NULL_RETURNS)
Well, not really. Just catch that case and error out.
svn path=/trunk/; revision=50029
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/nbap/nbap.cnf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/asn1/nbap/nbap.cnf b/asn1/nbap/nbap.cnf index 030d704f41..6821f5148f 100644 --- a/asn1/nbap/nbap.cnf +++ b/asn1/nbap/nbap.cnf @@ -2121,6 +2121,7 @@ int i; nbap_hsdsch_channel_info[i].crnc_port, 0, NO_ADDR_B); if(conversation != NULL){ umts_fp_conversation_info = (umts_fp_conversation_info_t *)conversation_get_proto_data(conversation, proto_fp); + DISSECTOR_ASSERT(umts_fp_conversation_info != NULL); umts_fp_conversation_info->hrnti = hrnti; } } |