[asterisk-bugs] [Asterisk 0018162]: [patch] deny=all in iax.conf results in segmentation fault
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jan 28 14:19:58 CST 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18162
======================================================================
Reported By: imcdona
Assigned To: seanbright
======================================================================
Project: Asterisk
Issue ID: 18162
Category: Channels/chan_iax2
Reproducibility: always
Severity: crash
Priority: normal
Status: closed
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:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-10-19 05:18 CDT
Last Modified: 2011-01-28 14:19 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
======================================================================
----------------------------------------------------------------------
(0131189) svnbot (reporter) - 2011-01-28 14:19
https://issues.asterisk.org/view.php?id=18162#c131189
----------------------------------------------------------------------
Repository: asterisk
Revision: 304639
_U trunk/
U trunk/main/acl.c
------------------------------------------------------------------------
r304639 | seanbright | 2011-01-28 14:19:58 -0600 (Fri, 28 Jan 2011) | 18
lines
Merged revisions 304638 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r304638 | seanbright | 2011-01-28 15:19:08 -0500 (Fri, 28 Jan 2011) | 11
lines
Restore some conditionals that we lost in r277814.
There are some cases where ast_append_ha() is called with a NULL instead
of a
valid int pointer. So if we get a NULL, don't try to dereference it.
(closes issue https://issues.asterisk.org/view.php?id=18162)
Reported by: imcdona
Patches:
issue0018162.patch uploaded by pabelanger (license 224)
Tested by: enegaard
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=304639
Issue History
Date Modified Username Field Change
======================================================================
2011-01-28 14:19 svnbot Checkin
2011-01-28 14:19 svnbot Note Added: 0131189
======================================================================
More information about the asterisk-bugs
mailing list