[asterisk-bugs] [Asterisk 0010495]: chan_iax2.c seg fault in build_peer when "&context" is passed to strsep unitialised

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Aug 19 19:36:23 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10495 
====================================================================== 
Reported By:                stevedavies
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10495
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 79980 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-19-2007 14:32 CDT
Last Modified:              08-19-2007 19:36 CDT
====================================================================== 
Summary:                    chan_iax2.c seg fault in build_peer when "&context"
is passed to strsep unitialised
Description: 
Repeatable segfault in chan_iax2.so as the system starts.  

Patch attached
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 08-19-07 19:36  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 79990

------------------------------------------------------------------------
r79990 | file | 2007-08-19 19:36:22 -0500 (Sun, 19 Aug 2007) | 4 lines

(closes issue http://bugs.digium.com/view.php?id=10495)
Reported by: stevedavies
Make sure context pointer is valid or else chan_iax2 will go kaboom.

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-19-07 19:36  svnbot         Checkin                                      
08-19-07 19:36  svnbot         Note Added: 0069067                          
08-19-07 19:36  svnbot         Status                   new => assigned     
08-19-07 19:36  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list