dect
/
asterisk
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/cdr
rmudgett 37e212e99f Merged revisions 321926 via svnmerge from
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
2011-06-03 22:15:56 +00:00
..
Makefile Begin on a crusade to end trailing whitespace! 2008-11-20 17:48:58 +00:00
cdr_adaptive_odbc.c Support negative filters. 2010-12-31 09:29:10 +00:00
cdr_csv.c Add load priority order, such that preload becomes unnecessary in most cases 2010-07-20 19:35:02 +00:00
cdr_custom.c Add load priority order, such that preload becomes unnecessary in most cases 2010-07-20 19:35:02 +00:00
cdr_manager.c Add load priority order, such that preload becomes unnecessary in most cases 2010-07-20 19:35:02 +00:00
cdr_odbc.c Merged revisions 283319 via svnmerge from 2010-08-23 21:35:09 +00:00
cdr_pgsql.c Merged revisions 299131 via svnmerge from 2010-12-20 17:48:09 +00:00
cdr_radius.c Merged revisions 321926 via svnmerge from 2011-06-03 22:15:56 +00:00
cdr_sqlite.c Merged revisions 300575 via svnmerge from 2011-01-05 16:30:56 +00:00
cdr_sqlite3_custom.c Add load priority order, such that preload becomes unnecessary in most cases 2010-07-20 19:35:02 +00:00
cdr_syslog.c Merged revisions 317480 via svnmerge from 2011-05-05 23:02:11 +00:00
cdr_tds.c Add load priority order, such that preload becomes unnecessary in most cases 2010-07-20 19:35:02 +00:00