res_stasis_snoop.c: Fix off nominial exit path leaving Snoop channel locked and not...
authorRichard Mudgett <rmudgett@digium.com>
Tue, 12 Aug 2014 23:36:37 +0000 (23:36 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 12 Aug 2014 23:36:37 +0000 (23:36 +0000)
commit8526d967c9e5514490160e0b7f90a6cc21c81094
tree58414a7e6451586a5563cfb2c506a4f7c4f0e150
parentca61f8ac82c8ef12890b3e0b8625035a6b109ed7
res_stasis_snoop.c: Fix off nominial exit path leaving Snoop channel locked and not hungup.

* Made use ast_copy_string() instead of strcpy() for snoop uniqueid for
safety.  There is no guarantee that the max channel uniqueid length will
remain the same as the snoop uniqueid space.
........

Merged revisions 420879 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@420880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_stasis_snoop.c