[asterisk-bugs] [Asterisk 0018526]: [patch] res_config_mysql.so crashes when processing "#include" with a file which doesn't exist
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jan 6 06:29:09 UTC 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18526
======================================================================
Reported By: makoto
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 18526
Category: Addons/res_config_mysql
Reproducibility: always
Severity: crash
Priority: normal
Status: closed
Asterisk Version: Addons-1.6.2.1
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-12-24 03:14 CST
Last Modified: 2011-01-06 00:29 CST
======================================================================
Summary: [patch] res_config_mysql.so crashes when processing
"#include" with a file which doesn't exist
Description:
Step:
1. Add the following record to the realtime static table.
filename extensions.conf
category general
var_name #include
var_val /tmp/filedoesnotexist.txt
2. Restart Asterisk
3. Asterisk crashes
Attached patch will fix the problem.
======================================================================
----------------------------------------------------------------------
(0130244) svnbot (reporter) - 2011-01-06 00:29
https://issues.asterisk.org/view.php?id=18526#c130244
----------------------------------------------------------------------
Repository: asterisk
Revision: 300799
_U trunk/
U trunk/addons/res_config_mysql.c
------------------------------------------------------------------------
r300799 | tilghman | 2011-01-06 00:29:09 -0600 (Thu, 06 Jan 2011) | 15
lines
Merged revisions 300798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r300798 | tilghman | 2011-01-06 00:28:18 -0600 (Thu, 06 Jan 2011) | 8
lines
Don't destroy handle not created by use (because the caller will).
(closes issue https://issues.asterisk.org/view.php?id=18526)
Reported by: makoto
Patches:
res-config-mysql-include.patch uploaded by makoto (license 38)
Tested by: makoto
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=300799
Issue History
Date Modified Username Field Change
======================================================================
2011-01-06 00:29 svnbot Checkin
2011-01-06 00:29 svnbot Note Added: 0130244
======================================================================
More information about the asterisk-bugs
mailing list