[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:52:04 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:52 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.

====================================================================== 

---------------------------------------------------------------------- 
 (0100133) svnbot (reporter) - 2009-02-13 13:52
 http://bugs.digium.com/view.php?id=14473#c100133 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 175593

_U  branches/1.6.1/
U   branches/1.6.1/apps/app_voicemail.c

------------------------------------------------------------------------
r175593 | mmichelson | 2009-02-13 13:52:04 -0600 (Fri, 13 Feb 2009) | 29
lines

Merged revisions 175591 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r175591 | mmichelson | 2009-02-13 13:49:38 -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=175593 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-13 13:52 svnbot         Checkin                                      
2009-02-13 13:52 svnbot         Note Added: 0100133                          
======================================================================




More information about the asterisk-bugs mailing list