[asterisk-commits] mmichelson: trunk r67784 - /trunk/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jun 6 12:02:34 MST 2007


Author: mmichelson
Date: Wed Jun  6 14:02:33 2007
New Revision: 67784

URL: http://svn.digium.com/view/asterisk?view=rev&rev=67784
Log:
Fixing a crash wherein Asterisk would segfault when attempting to leave a voicemail when IMAP storage
was enabled. Though no bug was reported to the bugtracker, there was mention of this made as a note on
bug 9810 by edhorton. 


Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=67784&r1=67783&r2=67784
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Wed Jun  6 14:02:33 2007
@@ -9280,6 +9280,8 @@
 
 	if (!(v = ast_calloc(1, sizeof(*v))))
 		return;
+	
+	v->vms = vms;
 
 	if(option_debug > 2)
 		ast_log(LOG_DEBUG, "Inserting vm_state for user:%s, mailbox %s\n",vms->imapuser,vms->username);



More information about the asterisk-commits mailing list