[Home]

Summary:ASTERISK-16295: Parsing error in extconfig.conf results in seg fault
Reporter:nick_lewis (nick_lewis)Labels:
Date Opened:2010-06-28 04:24:37Date Closed:2010-06-29 20:02:41
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Resources/res_realtime
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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
Comments:By: Digium Subversion (svnbot) 2010-06-29 20:01:14

Repository: asterisk
Revision: 273142

U   trunk/main/config.c

------------------------------------------------------------------------
r273142 | tilghman | 2010-06-29 20:01:13 -0500 (Tue, 29 Jun 2010) | 5 lines

Don't attempt to proceed if our internal parser indicates an invalid file.

(closes issue ASTERISK-16295)
Reported by: Nick_Lewis

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

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

By: Digium Subversion (svnbot) 2010-06-29 20:02:41

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 ASTERISK-16295)
  Reported by: Nick_Lewis
........

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

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