]> git.ipfire.org Git - thirdparty/asterisk.git/commit
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:33:00 +0000 (23:33 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 12 Aug 2014 23:33:00 +0000 (23:33 +0000)
commitbede29b76265450dca40b76b2eb74f6bb64b159d
tree6abba8ee8ced2e28f0c3a17e4157704147b21c24
parenta2bbe5d3601302fbe5eb59c44b0cb49651af84ff
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.

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