diff options
-rw-r--r-- | epan/dissectors/asn1/nbap/nbap.cnf | 10 | ||||
-rw-r--r-- | epan/dissectors/packet-nbap.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/epan/dissectors/asn1/nbap/nbap.cnf b/epan/dissectors/asn1/nbap/nbap.cnf index 36cfff928d..d3bdcc9b75 100644 --- a/epan/dissectors/asn1/nbap/nbap.cnf +++ b/epan/dissectors/asn1/nbap/nbap.cnf @@ -1483,7 +1483,7 @@ private_data_set_binding_id_port(actx->pinfo, 0); } /* Set address for collection of DDI entries */ - copy_address(&(nbap_edch_channel_info[e_dch_macdflow_id].crnc_address),&dst_addr); + copy_address_wmem(actx->pinfo->pool,&(nbap_edch_channel_info[e_dch_macdflow_id].crnc_address),&dst_addr); nbap_edch_channel_info[e_dch_macdflow_id].crnc_port = bindingID; set_umts_fp_conv_data(conversation, umts_fp_conversation_info); @@ -1631,7 +1631,7 @@ private_data_set_binding_id_port(actx->pinfo, 0); /* Set address for collection of DDI entries */ e_dch_macdflow_id = private_data_get_e_dch_macdflow_id(actx->pinfo); - copy_address(&(nbap_edch_channel_info[e_dch_macdflow_id].crnc_address),&dst_addr); + copy_address_wmem(actx->pinfo->pool,&(nbap_edch_channel_info[e_dch_macdflow_id].crnc_address),&dst_addr); nbap_edch_channel_info[e_dch_macdflow_id].crnc_port = bindingID; @@ -1893,7 +1893,7 @@ nbap_edch_channel_info = private_data_get_nbap_edch_channel_info(actx->pinfo); /* Set address for collection of HSDSCH entries */ hsdsch_macdflow_id = private_data_get_hsdsch_macdflow_id(actx->pinfo); - copy_address(&(nbap_hsdsch_channel_info[hsdsch_macdflow_id].crnc_address),&dst_addr); + copy_address_wmem(actx->pinfo->pool,&(nbap_hsdsch_channel_info[hsdsch_macdflow_id].crnc_address),&dst_addr); nbap_hsdsch_channel_info[hsdsch_macdflow_id].crnc_port = bindingID; @@ -2049,7 +2049,7 @@ nbap_hsdsch_channel_info = private_data_get_nbap_hsdsch_channel_info(actx->pinfo set_address(&dst_addr, AT_IPv4, 4, &transportLayerAddress_ipv4); /* Set address for collection of HSDSCH entries */ - copy_address(&(nbap_hsdsch_channel_info[private_data_get_hsdsch_macdflow_id(actx->pinfo)].crnc_address),&dst_addr); + copy_address_wmem(actx->pinfo->pool,&(nbap_hsdsch_channel_info[private_data_get_hsdsch_macdflow_id(actx->pinfo)].crnc_address),&dst_addr); nbap_hsdsch_channel_info[private_data_get_hsdsch_macdflow_id(actx->pinfo)].crnc_port = bindingID; @@ -2197,7 +2197,7 @@ private_data_set_common_macdflow_id(actx->pinfo, common_macdflow_id); /* Set address for collection of common entries */ common_macdflow_id = private_data_get_common_macdflow_id(actx->pinfo); - copy_address(&(nbap_common_channel_info[common_macdflow_id].crnc_address),&dst_addr); + copy_address_wmem(actx->pinfo->pool,&(nbap_common_channel_info[common_macdflow_id].crnc_address),&dst_addr); nbap_common_channel_info[common_macdflow_id].crnc_port = private_data_get_binding_id_port(actx->pinfo); diff --git a/epan/dissectors/packet-nbap.c b/epan/dissectors/packet-nbap.c index 1bbb1bfb5c..2f2c6b000b 100644 --- a/epan/dissectors/packet-nbap.c +++ b/epan/dissectors/packet-nbap.c @@ -12648,7 +12648,7 @@ dissect_nbap_CommonMACFlow_Specific_InfoItem(tvbuff_t *tvb _U_, int offset _U_, /* Set address for collection of common entries */ common_macdflow_id = private_data_get_common_macdflow_id(actx->pinfo); - copy_address(&(nbap_common_channel_info[common_macdflow_id].crnc_address),&dst_addr); + copy_address_wmem(actx->pinfo->pool,&(nbap_common_channel_info[common_macdflow_id].crnc_address),&dst_addr); nbap_common_channel_info[common_macdflow_id].crnc_port = private_data_get_binding_id_port(actx->pinfo); @@ -19341,7 +19341,7 @@ private_data_set_binding_id_port(actx->pinfo, 0); /* Set address for collection of DDI entries */ e_dch_macdflow_id = private_data_get_e_dch_macdflow_id(actx->pinfo); - copy_address(&(nbap_edch_channel_info[e_dch_macdflow_id].crnc_address),&dst_addr); + copy_address_wmem(actx->pinfo->pool,&(nbap_edch_channel_info[e_dch_macdflow_id].crnc_address),&dst_addr); nbap_edch_channel_info[e_dch_macdflow_id].crnc_port = bindingID; @@ -24171,7 +24171,7 @@ dissect_nbap_HSDSCH_MACdFlow_Specific_InfoItem(tvbuff_t *tvb _U_, int offset _U_ /* Set address for collection of HSDSCH entries */ hsdsch_macdflow_id = private_data_get_hsdsch_macdflow_id(actx->pinfo); - copy_address(&(nbap_hsdsch_channel_info[hsdsch_macdflow_id].crnc_address),&dst_addr); + copy_address_wmem(actx->pinfo->pool,&(nbap_hsdsch_channel_info[hsdsch_macdflow_id].crnc_address),&dst_addr); nbap_hsdsch_channel_info[hsdsch_macdflow_id].crnc_port = bindingID; @@ -24613,7 +24613,7 @@ dissect_nbap_HSDSCH_MACdFlow_Specific_InfoItem_to_Modify(tvbuff_t *tvb _U_, int set_address(&dst_addr, AT_IPv4, 4, &transportLayerAddress_ipv4); /* Set address for collection of HSDSCH entries */ - copy_address(&(nbap_hsdsch_channel_info[private_data_get_hsdsch_macdflow_id(actx->pinfo)].crnc_address),&dst_addr); + copy_address_wmem(actx->pinfo->pool,&(nbap_hsdsch_channel_info[private_data_get_hsdsch_macdflow_id(actx->pinfo)].crnc_address),&dst_addr); nbap_hsdsch_channel_info[private_data_get_hsdsch_macdflow_id(actx->pinfo)].crnc_port = bindingID; @@ -29619,7 +29619,7 @@ private_data_set_binding_id_port(actx->pinfo, 0); } /* Set address for collection of DDI entries */ - copy_address(&(nbap_edch_channel_info[e_dch_macdflow_id].crnc_address),&dst_addr); + copy_address_wmem(actx->pinfo->pool,&(nbap_edch_channel_info[e_dch_macdflow_id].crnc_address),&dst_addr); nbap_edch_channel_info[e_dch_macdflow_id].crnc_port = bindingID; set_umts_fp_conv_data(conversation, umts_fp_conversation_info); |