[asterisk-commits] russell: trunk r202223 - /trunk/cdr/cdr_manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jun 20 15:56:24 CDT 2009


Author: russell
Date: Sat Jun 20 15:56:13 2009
New Revision: 202223

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=202223
Log:
Leave a note about some unsafe code in cdr_manager

Modified:
    trunk/cdr/cdr_manager.c

Modified: trunk/cdr/cdr_manager.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/cdr/cdr_manager.c?view=diff&rev=202223&r1=202222&r2=202223
==============================================================================
--- trunk/cdr/cdr_manager.c (original)
+++ trunk/cdr/cdr_manager.c Sat Jun 20 15:56:13 2009
@@ -46,6 +46,11 @@
 static char *name = "cdr_manager";
 
 static int enablecdr = 0;
+
+/*! 
+ * XXX
+ * \bug The handling of this variable is not thread-safe.  Crashes are possible on reload.
+ */
 static struct ast_str *customfields;
 
 static int manager_log(struct ast_cdr *cdr);




More information about the asterisk-commits mailing list