[asterisk-bugs] [Asterisk 0017157]: proxy_allocate() fails to init proxy->ip.sin_family

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 9 11:30:05 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17157 
====================================================================== 
Reported By:                stuarth
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17157
Category:                   Channels/chan_sip/General
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.6 
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-04-09 06:01 CDT
Last Modified:              2010-04-09 11:30 CDT
====================================================================== 
Summary:                    proxy_allocate() fails to init proxy->ip.sin_family
Description: 
sin_family should be init'ed to AF_INET, otherwise any OS which requires a
valid address family fails when using outboundproxy.
====================================================================== 

---------------------------------------------------------------------- 
 (0120236) stuarth (reporter) - 2010-04-09 11:30
 https://issues.asterisk.org/view.php?id=17157#c120236 
---------------------------------------------------------------------- 
I won't provide a direct patch here as I haven't signed the license and
don't wish to at this time. But simply initialise ip.sin_family to AF_INET
in proxy_allocate() of chan_sip.c. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-09 11:30 stuarth        Note Added: 0120236                          
======================================================================




More information about the asterisk-bugs mailing list