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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 26 14:53:22 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-26 14:53 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

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

---------------------------------------------------------------------- 
 (0131082) seanbright (manager) - 2011-01-26 14:53
 https://issues.asterisk.org/view.php?id=18162#c131082 
---------------------------------------------------------------------- 
enegaard,

You crash with:
<pre>
deny=0.0.0.0/0.0.0.0
permit=0.0.0.0/0.0.0.0
</pre>
Even with the patch from this issue applied? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-26 14:53 seanbright     Note Added: 0131082                          
======================================================================




More information about the asterisk-bugs mailing list