]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix a potential crash situation when using IMAP voicemail
authorMark Michelson <mmichelson@digium.com>
Fri, 13 Feb 2009 19:47:48 +0000 (19:47 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 13 Feb 2009 19:47:48 +0000 (19:47 +0000)
commit3e0b36d9d09b6f14fa9f7e38e7f25d49409749a3
tree698eacc49b5cc8f04b66b43a70799eacbe90c0c2
parent7accd1ec4681ac055ad6cb6bc8979ae879392232
Fix a potential crash situation when using IMAP voicemail

If calling into VoiceMailMain when using IMAP storage, it was
possible to crash Asterisk by hanging up the phone when prompted
for a voicemail mailbox. This patch fixes the issue.

While it may appear that this patch is superficial, it allows code
execution to continue to the failure case just below the IMAP_STORAGE
code block where this patch has been applied

(closes issue #14473)
Reported by: dwpaul
Patches:
      voicemail_imap_crash_no_mailbox.patch uploaded by dwpaul (license 689)

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