[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:01:14 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17560
======================================================================
Reported By: Nick_Lewis
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17560
Category: Resources/res_realtime
Reproducibility: always
Severity: crash
Priority: normal
Status: acknowledged
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:
======================================================================
Date Submitted: 2010-06-28 04:24 CDT
Last Modified: 2010-06-29 20:01 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
======================================================================
----------------------------------------------------------------------
(0124064) svnbot (reporter) - 2010-06-29 20:01
https://issues.asterisk.org/view.php?id=17560#c124064
----------------------------------------------------------------------
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 https://issues.asterisk.org/view.php?id=17560)
Reported by: Nick_Lewis
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=273142
Issue History
Date Modified Username Field Change
======================================================================
2010-06-29 20:01 svnbot Checkin
2010-06-29 20:01 svnbot Note Added: 0124064
======================================================================
More information about the asterisk-bugs
mailing list