[Home]

Summary:ASTERISK-25664: ast_format_cap_append_by_type leaks a reference
Reporter:Corey Farrell (coreyfarrell)Labels:
Date Opened:2016-01-07 09:41:46.000-0600Date Closed:2016-01-07 11:32:17.000-0600
Priority:MinorRegression?Yes
Status:Closed/CompleteComponents:Formats/General
Versions:SVN 13.6.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:ast_format_cap_append_by_type leaks a reference obtained in a comparison: if (!format || codec != ast_format_get_codec(format)).  The result of ast_format_get_codec is reference counted so it cannot directly be used in a comparison without keeping a pointer to unreference later.
Comments:By: Asterisk Team (asteriskteam) 2016-01-07 09:41:48.432-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].