[asterisk-bugs] [Asterisk 0017560]: Parsing error in extconfig.conf results in seg fault

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 29 20:02:41 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17560 
====================================================================== 
Reported By:                Nick_Lewis
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17560
Category:                   Resources/res_realtime
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                       SWP-1793 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 268933 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-06-28 04:24 CDT
Last Modified:              2010-06-29 20:02 CDT
====================================================================== 
Summary:                    Parsing error in extconfig.conf results in seg fault
Description: 
If extconfig.conf contains:

 sippeers => mysql,general,sip_buddies

without a preceding context then when connecting to asterisk with
"asterisk -r" it reports an error:

 parse error: No category context for line 1 of
/etc/asterisk/extconfig.conf

but then it seg faults in read_config_maps () at config.c:415
====================================================================== 

---------------------------------------------------------------------- 
 (0124065) svnbot (reporter) - 2010-06-29 20:02
 https://issues.asterisk.org/view.php?id=17560#c124065 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 273143

_U  branches/1.6.2/
U   branches/1.6.2/main/config.c

------------------------------------------------------------------------
r273143 | tilghman | 2010-06-29 20:02:41 -0500 (Tue, 29 Jun 2010) | 12
lines

Merged revisions 273142 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r273142 | tilghman | 2010-06-29 20:01:14 -0500 (Tue, 29 Jun 2010) | 5
lines
  
  Don't attempt to proceed if our internal parser indicates an invalid
file.
  
  (closes issue https://issues.asterisk.org/view.php?id=17560)
   Reported by: Nick_Lewis
........

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

http://svn.digium.com/view/asterisk?view=rev&revision=273143 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-29 20:02 svnbot         Checkin                                      
2010-06-29 20:02 svnbot         Note Added: 0124065                          
======================================================================




More information about the asterisk-bugs mailing list