[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
Fri Dec 24 17:48:02 UTC 2010


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18526 
====================================================================== 
Reported By:                makoto
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18526
Category:                   Addons/res_config_mysql
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
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:              
====================================================================== 
Date Submitted:             2010-12-24 03:14 CST
Last Modified:              2010-12-24 11:48 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.

====================================================================== 

---------------------------------------------------------------------- 
 (0129948) tilghman (manager) - 2010-12-24 11:48
 https://issues.asterisk.org/view.php?id=18526#c129948 
---------------------------------------------------------------------- 
When you're reporting a crash, we need the stack backtrace in order to
verify that the solution given is correct. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-24 11:48 tilghman       Note Added: 0129948                          
2010-12-24 11:48 tilghman       Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list