[asterisk-bugs] [Asterisk 0018162]: [patch] deny=all in iax.conf results in segmentation fault

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 24 07:52:59 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18162 
====================================================================== 
Reported By:                imcdona
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18162
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.8.0-rc5 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-19 05:18 CDT
Last Modified:              2011-01-24 07:52 CST
====================================================================== 
Summary:                    [patch] deny=all in iax.conf results in segmentation
fault
Description: 
Specifying deny=all rather than disallow=all in the codec directive on an
IAX peer results in a seg fault. Changing deny=all to disallow=all results
in expected behavior.

Example improper use of the codec directive that causes a crash:
[bobloblaw]
deny=all
allow=ulaw
type=friend
host=172.20.20.5
qualify=yes
context=from-internal

Example of proper use of the codec directive that does not cause a crash:
[bobloblaw]
disallow=all
allow=ulaw
type=friend
host=172.20.20.5
qualify=yes
context=from-internal

====================================================================== 

---------------------------------------------------------------------- 
 (0130922) enegaard (reporter) - 2011-01-24 07:52
 https://issues.asterisk.org/view.php?id=18162#c130922 
---------------------------------------------------------------------- 
Note that this crash also occurs on seemingly valid constructs like:

deny=0.0.0.0/0.0.0.0
permit=0.0.0.0/0.0.0.0

Which some versions of FreePBX add to IAX peers by default. This bit me
after my recent upgrade to Asterisk 1.8.2.2.

Installing the suggested patch works fine.

This fix should get implemented ASAP! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-24 07:52 enegaard       Note Added: 0130922                          
======================================================================




More information about the asterisk-bugs mailing list