diff options
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/nbap/nbap.cnf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/asn1/nbap/nbap.cnf b/asn1/nbap/nbap.cnf index 403b2888c6..696185380a 100644 --- a/asn1/nbap/nbap.cnf +++ b/asn1/nbap/nbap.cnf @@ -1453,8 +1453,9 @@ BindingID_port = 0; conversation_set_dissector(conversation, fp_handle); if(actx->pinfo->link_dir==P2P_DIR_DL){ umts_fp_conversation_info = wmem_new0(wmem_file_scope(), umts_fp_conversation_info_t); - /*Steal the old informatoin*/ - memcpy(umts_fp_conversation_info,conversation_get_proto_data(old_conversation, proto_fp),sizeof(umts_fp_conversation_info_t)); + /* Steal the old information */ + if (old_conversation) + memcpy(umts_fp_conversation_info,conversation_get_proto_data(old_conversation, proto_fp),sizeof(umts_fp_conversation_info_t)); /* Overwrite the data */ umts_fp_conversation_info->iface_type = IuB_Interface; |