Steve Murphy
86476c607f
closes issue #11285, where an unload of a module that creates a dialplan context, causes a crash when you do a 'dialplan show' of that context. This is because the registrar string is defined in the module, and the stale pointer is traversed. The reporter offered a patch that would always strdup the registrar string, which is practical, but I preferred to destroy the created contexts in each module where one is created. That seemed more symmetric. There were only 6 place in asterisk where this is done: chan_sip, chan_iax2, chan_skinny, res_features, app_dial, and app_queue. The two apps destroyed the context, but left the contexts. All is fixed now and unloads should be dialplan friendly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21 23:54:12 +00:00
..
2007-11-20 14:49:32 +00:00
2007-11-15 18:39:46 +00:00
2007-10-17 16:09:01 +00:00
2005-11-29 18:24:39 +00:00
2007-11-06 14:08:54 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
closes issue #11285, where an unload of a module that creates a dialplan context, causes a crash when you do a 'dialplan show' of that context. This is because the registrar string is defined in the module, and the stale pointer is traversed. The reporter offered a patch that would always strdup the registrar string, which is practical, but I preferred to destroy the created contexts in each module where one is created. That seemed more symmetric. There were only 6 place in asterisk where this is done: chan_sip, chan_iax2, chan_skinny, res_features, app_dial, and app_queue. The two apps destroyed the context, but left the contexts. All is fixed now and unloads should be dialplan friendly.
2007-11-21 23:54:12 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
closes issue #11285, where an unload of a module that creates a dialplan context, causes a crash when you do a 'dialplan show' of that context. This is because the registrar string is defined in the module, and the stale pointer is traversed. The reporter offered a patch that would always strdup the registrar string, which is practical, but I preferred to destroy the created contexts in each module where one is created. That seemed more symmetric. There were only 6 place in asterisk where this is done: chan_sip, chan_iax2, chan_skinny, res_features, app_dial, and app_queue. The two apps destroyed the context, but left the contexts. All is fixed now and unloads should be dialplan friendly.
2007-11-21 23:54:12 +00:00
closes issue #11285, where an unload of a module that creates a dialplan context, causes a crash when you do a 'dialplan show' of that context. This is because the registrar string is defined in the module, and the stale pointer is traversed. The reporter offered a patch that would always strdup the registrar string, which is practical, but I preferred to destroy the created contexts in each module where one is created. That seemed more symmetric. There were only 6 place in asterisk where this is done: chan_sip, chan_iax2, chan_skinny, res_features, app_dial, and app_queue. The two apps destroyed the context, but left the contexts. All is fixed now and unloads should be dialplan friendly.
2007-11-21 23:54:12 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
2007-11-21 23:24:55 +00:00
2005-11-29 18:24:39 +00:00
2005-11-29 18:24:39 +00:00
2007-11-16 20:04:58 +00:00
2007-07-17 20:49:09 +00:00
2007-11-21 23:24:55 +00:00
2007-08-16 21:09:46 +00:00
2007-04-28 21:26:00 +00:00
2007-11-20 16:12:10 +00:00
2007-11-19 21:18:14 +00:00
2005-11-29 18:24:39 +00:00
2007-11-06 14:08:54 +00:00