[Home]

Summary:ASTERISK-25361: [patch]possible null pointer issue in chan_iax2 - with potential fix
Reporter:Marcello Ceschia (marcelloceschia)Labels:patch
Date Opened:2015-08-31 12:33:03Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:Channels/chan_iax2
Versions:13.5.0 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:debian 8Attachments:( 0) possible_null_peer_fix.patch
Description:in line 4426 https://github.com/asterisk/asterisk/blob/13.5.0/channels/chan_iax2.c#L4426
peer will be unrefed and set to null, but only the for-loop is canceled.

In line 4454 or 4470 peer is used and not checked if peer == null
Comments:By: Asterisk Team (asteriskteam) 2015-08-31 12:33:05.415-0500

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].