Files
asterisk/main
Richard Mudgett 3cb2876c06 CEL: Protect data structures during reload and shutdown.
The CEL data structures need to be protected during a configuration reload
and shutdown.  Asterisk crashed during a shutdown because CEL events were
still in flight and the CEL data structures were already destroyed.

* Protected the appset and linkedids ao2 containers using the reload_lock.
As a result appset, linkedids, and held objects don't need a lock.

* Added NULL checks before use of the appset and linkedids ao2 containers
in case the CEL module is already shutdown.

* Fixed overloading of the linkedids held objects reference count.  During
shutdown any held objects would be leaked.

* Fixed memory leak of linkedids held objects if the LINKEDID_END is not
being tracked.  The objects in the linkedids container were not removed if
the LINKEDID_END event is not used.

* Added access protection to the appset container during the CLI "cel show
status" command.

* Made CEL config reload not set defaults if the cel.conf file is invalid.

(closes issue AST-1253)
Reported by: Guenther Kelleter

Review: https://reviewboard.asterisk.org/r/3127/
........

Merged revisions 406417 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 406418 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/certified/branches/11.6@406469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-01-25 00:13:47 +00:00
..
2012-12-03 20:43:03 +00:00
2012-06-15 16:20:16 +00:00
2012-03-24 02:42:42 +00:00
2013-08-20 15:27:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-07-06 15:31:52 +00:00
2013-10-18 16:38:45 +00:00
2012-06-15 16:20:16 +00:00
2013-08-30 19:16:20 +00:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2013-12-19 16:38:50 +00:00
2012-06-15 16:20:16 +00:00
2012-12-11 00:34:46 +00:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2013-09-10 17:56:56 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-09-10 17:56:56 +00:00
2013-08-21 17:07:06 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-02-26 19:19:51 +00:00
2012-04-28 01:33:49 +00:00
2013-04-18 16:07:03 +00:00
2013-08-30 19:16:20 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-09-25 23:09:40 +00:00
2012-06-15 16:20:16 +00:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-12-11 20:45:02 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-07-30 23:26:51 +00:00
2013-08-30 19:16:20 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00