[asterisk-bugs] [JIRA] (ASTERISK-23091) possible memory leak in abstract jitterbuffer

Michael L. Young (JIRA) noreply at issues.asterisk.org
Fri Jan 3 10:43:06 CST 2014


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

Michael L. Young edited comment on ASTERISK-23091 at 1/3/14 10:43 AM:
----------------------------------------------------------------------

Thanks for your report.  You might want to check out the latest version, 11.7, as it looks like this was already fixed in ASTERISK-22467.
                
      was (Author: elguero):
    You might want to check out the latest version, 11.7, as it looks like this was already fixed in ASTERISK-22467.
                  
> possible memory leak in abstract jitterbuffer 
> ----------------------------------------------
>
>                 Key: ASTERISK-23091
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23091
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Jitterbuffer
>    Affects Versions: 11.4.0
>            Reporter: Martin Vit
>
> main/jitterbuffer.c - void jb_reset(jitterbuf *jb) nulls whole jb structure which can contain unfreed jb->free frames in case someone calls this function while frames are still in memory. I found this issue in my voipmonitor project when I'm using asterisks jitterbuffer code so I'm not sure if the jb_reset in asterisk is called but at least I have found some calls in channel.c ast_jb_empty_and_reset which will call this in the middle of a call so I'm convinced that it must leak. 
> I suggest to empty all frames in jb->free and probably jb->frames in the jb_reset function in jitterbuffer.c 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list