[asterisk-dev] [Code Review] 4049: res_fax: Fix reference leak caused by gateway sessions being added to faxregistry.container twice

opticron reviewboard at asterisk.org
Thu Oct 9 13:41:43 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4049/#review13482
-----------------------------------------------------------

Ship it!


Ship It!

- opticron


On Oct. 7, 2014, 2:04 p.m., Corey Farrell wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4049/
> -----------------------------------------------------------
> 
> (Updated Oct. 7, 2014, 2:04 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-24392
>     https://issues.asterisk.org/jira/browse/ASTERISK-24392
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Reserved fax gateway sessions are added to faxregistry.container, then added again when the session is 'really' created.  It seems that when it is re-added it adds a second reference into the container due to the id being different.  Removal of the original list entry is not successful.  This prevents the session from ever being unallocated.
> 
> 
> Diffs
> -----
> 
>   /branches/1.8/res/res_fax.c 424175 
> 
> Diff: https://reviewboard.asterisk.org/r/4049/diff/
> 
> 
> Testing
> -------
> 
> Verified this resolves the leak in 11 and 12.
> 
> 
> Thanks,
> 
> Corey Farrell
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141009/fbf8423d/attachment.html>


More information about the asterisk-dev mailing list