Lock around variables retrieved, and copy the values, if they stay persistent,
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 30 Apr 2008 19:21:04 +0000 (19:21 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 30 Apr 2008 19:21:04 +0000 (19:21 +0000)
commit527c601d0cf28b0b062a1e6d1ea1ec02cb9568dd
tree89d592fc9e276ed41a21062589ea44fedcf6d0d2
parent4c3aecfc55663f0ed9d441aa2d2b2d4ddd35e28e
Lock around variables retrieved, and copy the values, if they stay persistent,
since another thread could remove them.
(closes issue #12541)
 Reported by: snuffy
 Patches:
       bug_12156_apps.diff uploaded by snuffy (license 35)
       Several additional changes by me

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_chanspy.c
apps/app_externalivr.c
apps/app_macro.c
apps/app_meetme.c
apps/app_minivm.c
apps/app_morsecode.c
apps/app_speech_utils.c
apps/app_stack.c
apps/app_voicemail.c
apps/app_while.c