[Home]

Summary:ASTERISK-11472: Forwarding a message using file-based storage causes asterisk to crash.
Reporter:James Rothenberger (jaroth)Labels:
Date Opened:2008-02-19 09:31:46.000-0600Date Closed:2008-02-20 15:06:35.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) forward.patch
Description:If there is no "tmp" folder under a mailbox directory, copy_message (called form forward_message) will fail during a call to last_message_index on the non-existent directory.  The variable todir should be set to the INBOX, not the tmp directory.  This bug looks like it was induced recently.
Comments:By: James Rothenberger (jaroth) 2008-02-19 09:32:39.000-0600

Added patch to fix problem.

By: Digium Subversion (svnbot) 2008-02-20 15:06:35.000-0600

Repository: asterisk
Revision: 103902

U   trunk/apps/app_voicemail.c

------------------------------------------------------------------------
r103902 | mmichelson | 2008-02-20 15:06:34 -0600 (Wed, 20 Feb 2008) | 9 lines

Fix a crash due to the wrong variable being used when building a directory string.

(closes issue ASTERISK-11472)
Reported by: jaroth
Patches:
     forward.patch uploaded by jaroth (license 50)
Tested by: jaroth


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=103902