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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 11 04:45:25 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:                     confirmed
Asterisk Version:           1.8.3.2 
JIRA:                       SWP-3285 
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-05-11 04:45 CDT
====================================================================== 
Summary:                    [patch] 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
====================================================================== 

---------------------------------------------------------------------- 
 (0134782) naomi (reporter) - 2011-05-11 04:45
 https://issues.asterisk.org/view.php?id=19009#c134782 
---------------------------------------------------------------------- 
Thanks for your help. We used a workaround and the project has moved on
without the patch getting tested. I still intend to recreate the problem on
a test machine and give some feedback on the patch but since it may take a
while to get round to this I just wanted to say thanks now and acknowledge
it. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-11 04:45 naomi          Note Added: 0134782                          
======================================================================




More information about the asterisk-bugs mailing list