[Asterisk-bugs] [Asterisk 0010125]: asterisk crashes on reloading after bindaddr is changed

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 6 09:40:39 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10125 
====================================================================== 
Reported By:                makoto
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10125
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:            1.2.18  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             07-05-2007 20:06 CDT
Last Modified:              07-06-2007 09:40 CDT
====================================================================== 
Summary:                    asterisk crashes on reloading after bindaddr is
changed
Description: 
Steps

1. Set bindaddr in sip.conf to incorrect value. (e.g. 10.0.0.0)
2. Start asterisk (not reload)
3. Set bindaddr in sip.conf to correct value. (e.g. 0.0.0.0)
4. Reload asterisk
5. Crash

sipsock_read_id is not initialized, but it is passed to ast_io_change,
then crash.

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

---------------------------------------------------------------------- 
 makoto - 07-06-07 09:40  
---------------------------------------------------------------------- 
Attached patch will fix the problem. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-06-07 09:40  makoto         Note Added: 0066590                          
======================================================================




More information about the Asterisk-bugs mailing list