[asterisk-bugs] [Asterisk 0011208]: [patch] Some deadlocks while loading config

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Nov 9 10:30:04 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11208 
====================================================================== 
Reported By:                Laureano
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11208
Category:                   CDR/cdr_sqlite3_custom
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89127 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-09-2007 09:54 CST
Last Modified:              11-09-2007 10:30 CST
====================================================================== 
Summary:                    [patch] Some deadlocks while loading config
Description: 
While reloading the config file, a deadlock could ocurr if any of the
following errors are present in the config file:
- No "[master]" context defined.
- Column names not specified.
- Values not specified.

This patch prevents this deadlocks.

Disclaimer on file.

Also, the sample config file is named "cdr_sqlite3_custom.conf" and isn't
copied when running make samples. Should be renamed to
"cdr_sqlite3_custom.conf.sample".
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 11-09-07 10:30  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 89130

U   trunk/cdr/cdr_sqlite3_custom.c
D   trunk/configs/cdr_sqlite3_custom.conf
A   trunk/configs/cdr_sqlite3_custom.conf.sample

------------------------------------------------------------------------
r89130 | qwell | 2007-11-09 10:30:03 -0600 (Fri, 09 Nov 2007) | 5 lines

Fix a few potential deadlocks in cdr_sqlite3_custom.
(also rename sample config to .sample)

Closes issue http://bugs.digium.com/view.php?id=11208, patch by Laureano.

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-09-07 10:30  svnbot         Checkin                                      
11-09-07 10:30  svnbot         Note Added: 0073440                          
11-09-07 10:30  svnbot         Status                   new => assigned     
11-09-07 10:30  svnbot         Assigned To               => qwell           
======================================================================




More information about the asterisk-bugs mailing list