[asterisk-bugs] [JIRA] (ASTERISK-28904) RTP ICE leaks the memory

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue May 19 13:26:25 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250872#comment-250872 ] 

Friendly Automation commented on ASTERISK-28904:
------------------------------------------------

Change 14430 merged by Friendly Automation:
res_rtp_asterisk.c: Fixed memory leak

[https://gerrit.asterisk.org/c/asterisk/+/14430|https://gerrit.asterisk.org/c/asterisk/+/14430]

> RTP ICE leaks the memory
> ------------------------
>
>                 Key: ASTERISK-28904
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28904
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 13.33.0, 16.10.0, 17.4.0
>            Reporter: sungtae kim
>            Assignee: sungtae kim
>            Severity: Minor
>
> rtp_add_candidates_to_ice() function leaks the memory.
> {noformat}
> ==4869== 1,424,304 bytes in 1,099 blocks are definitely lost in loss record 13,277 of 13,281
> ==4869==    at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
> ==4869==    by 0x8217BBC: getifaddrs_internal (ifaddrs.c:411)
> ==4869==    by 0x821871F: getifaddrs (ifaddrs.c:831)
> ==4869==    by 0x1F66EA55: rtp_add_candidates_to_ice (res_rtp_asterisk.c:3485)
> ==4869==    by 0x1F66F640: ice_create (res_rtp_asterisk.c:3733)
> ==4869==    by 0x1F66FAFC: rtp_allocate_transport (res_rtp_asterisk.c:3815)
> ==4869==    by 0x1F6700A5: ast_rtp_new (res_rtp_asterisk.c:3945)
> ==4869==    by 0x27203D: ast_rtp_instance_new (rtp_engine.c:535)
> ==4869==    by 0x36430AEF: create_rtp (res_pjsip_sdp_rtp.c:271)
> ==4869==    by 0x364353DB: create_outgoing_sdp_stream (res_pjsip_sdp_rtp.c:1645)
> ==4869==    by 0x1F04ED78: add_sdp_streams (res_pjsip_session.c:4102)
> ==4869==    by 0x1F04F3E9: create_local_sdp (res_pjsip_session.c:4256)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list