[asterisk-bugs] [Asterisk 0019009]: Remote bridging of certain IPs causes segfault

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 28 05:31:07 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19009 
====================================================================== 
Reported By:                naomi
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19009
Category:                   Core/Netsock
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.3.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-03-22 07:58 CDT
Last Modified:              2011-03-28 05:31 CDT
====================================================================== 
Summary:                    Remote bridging of certain IPs causes segfault
Description: 
When remotely bridging two SIP channels, Asterisk dies with a segfault.

I can reproduce this reliably (on about every second call) with one
particular DDI and one particular outgoing SIP trunk, and never otherwise.


There seems to be a null pointer passed to ast_sockaddr_resolve in
netsock.c when it happens.

I fear this may be a re-emergence of a bug that was mentioned in a Linux
security tracker in 2007:

http://www.linuxsecurity.com/content/view/128447
====================================================================== 

---------------------------------------------------------------------- 
 (0133129) naomi (reporter) - 2011-03-28 05:31
 https://issues.asterisk.org/view.php?id=19009#c133129 
---------------------------------------------------------------------- 
Since then I have discovered that the segfault occurs when an attempt to
reinvite is taking place.

Setting reinvite to no gets rid of the problem. I still think this is a
bug though, as setting reinvite to yes should not cause a segfault 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-28 05:31 naomi          Note Added: 0133129                          
======================================================================




More information about the asterisk-bugs mailing list