Use a deep copy on strings that come from ast_events. Otherwise it is
authorMark Michelson <mmichelson@digium.com>
Fri, 23 May 2008 19:57:40 +0000 (19:57 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 23 May 2008 19:57:40 +0000 (19:57 +0000)
commit7e49fd2f0e31f7a1e881f8936e6ce69ec0a00639
tree1196f0a912a3710be261e2d9d657f920fd530dcf
parentebb4ba3b9aca59e34e14cf7267840dde3986d4aa
Use a deep copy on strings that come from ast_events. Otherwise it is
likely that after the event is freed, we no longer refer to valid memory.

(closes issue #12712)
Reported by: tomo1657
Patches:
      12712.patch uploaded by putnopvut (license 60)
Tested by: tomo1657

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@118157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_voicemail.c