Files
asterisk/res
Joshua Colp 65e9857f09 res_clialiases: Fix crash when reloading and re-aliasing an alias that is in use.
The code assumed that unregistering the alias would always succeed while in
practice this is not actually true. A common case is the "reload" command itself.
If the cli_aliases.conf configuration file was changed and reload executed the
command would fail to unregister and ultimately point to freed memory.

The reload process now checks whether unregistering succeeded or not and if not
the old CLI alias is retained.

(closes issue ASTERISK-19773)
Reported by: Joel Vandal

(closes issue ASTERISK-22757)
Reported by: Gareth Blades
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@407210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-02-04 02:20:52 +00:00
..
2013-02-04 19:50:52 +00:00
2012-06-15 16:20:16 +00:00
2012-06-25 15:55:25 +00:00
2013-08-30 17:53:56 +00:00
2013-08-30 19:16:20 +00:00
2013-05-15 12:39:55 +00:00