[asterisk-bugs] [Asterisk 0014473]: [patch] Crash in VoiceMailMain if hangup occurs before a valid mailbox number is entered (IMAP only)
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Feb 13 13:49:39 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14473
======================================================================
Reported By: dwpaul
Assigned To: putnopvut
======================================================================
Project: Asterisk
Issue ID: 14473
Category: Applications/app_voicemail/IMAP
Reproducibility: always
Severity: crash
Priority: normal
Status: closed
Asterisk Version: 1.4.23
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 173696
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-02-12 19:24 CST
Last Modified: 2009-02-13 13:49 CST
======================================================================
Summary: [patch] Crash in VoiceMailMain if hangup occurs
before a valid mailbox number is entered (IMAP only)
Description:
(this actually is for version 1.4.23.1)
If VoiceMailMain() is called from a dialplan without a valid mailbox
number or with no mailbox number, the user is prompted for a mailbox
number. If they then hangup before entering a number, Asterisk will crash.
This only occurs with the IMAP store.
======================================================================
----------------------------------------------------------------------
(0100130) svnbot (reporter) - 2009-02-13 13:49
http://bugs.digium.com/view.php?id=14473#c100130
----------------------------------------------------------------------
Repository: asterisk
Revision: 175591
_U trunk/
U trunk/apps/app_voicemail.c
------------------------------------------------------------------------
r175591 | mmichelson | 2009-02-13 13:49:39 -0600 (Fri, 13 Feb 2009) | 22
lines
Merged revisions 175590 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r175590 | mmichelson | 2009-02-13 13:47:48 -0600 (Fri, 13 Feb 2009) | 16
lines
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 http://bugs.digium.com/view.php?id=14473)
Reported by: dwpaul
Patches:
voicemail_imap_crash_no_mailbox.patch uploaded by dwpaul (license
689)
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=175591
Issue History
Date Modified Username Field Change
======================================================================
2009-02-13 13:49 svnbot Checkin
2009-02-13 13:49 svnbot Note Added: 0100130
======================================================================
More information about the asterisk-bugs
mailing list