![]() https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r321926 | rmudgett | 2011-06-03 17:09:36 -0500 (Fri, 03 Jun 2011) | 18 lines Asterisk crash when unloading cdr_radius/cel_radius. The rc_openlog() API call is passed a string that is used by openlog() to format log messages. The openlog() does not copy the string it just keeps a pointer to it. When the module is unloaded, the string is gone from memory. Depending upon module load order and if the other module then has an error, a crash happens. * Pass rc_openlog() a strdup'd string with the understanding that there will be a small memory leak if the cdr_radius/cel_radius modules are unloaded. * Call rc_destroy() to free the rc handle memory when the module is unloaded. JIRA AST-483 JIRA SWP-3062 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@321927 f38db490-d61c-443f-a65b-d21fe96a405b |
||
---|---|---|
.. | ||
Makefile | ||
cdr_adaptive_odbc.c | ||
cdr_csv.c | ||
cdr_custom.c | ||
cdr_manager.c | ||
cdr_odbc.c | ||
cdr_pgsql.c | ||
cdr_radius.c | ||
cdr_sqlite.c | ||
cdr_sqlite3_custom.c | ||
cdr_syslog.c | ||
cdr_tds.c |