[asterisk-bugs] [Asterisk 0012976]: [patch] Using VoiceMail() with IMAP when cid_num or cid_name is blank always leads to segfault

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 2 20:53:59 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12976 
====================================================================== 
Reported By:                andrew53
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12976
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 127434 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-02-2008 20:50 CDT
Last Modified:              07-02-2008 20:53 CDT
====================================================================== 
Summary:                    [patch] Using VoiceMail() with IMAP when cid_num or
cid_name is blank always leads to segfault
Description: 
If VoiceMail() is called for a caller with blank callerid number or name
and IMAP is used for storage, using S_OR macro in make_email_file() call
will lead to null pointer dereference and segfault in strip_control().
====================================================================== 

---------------------------------------------------------------------- 
 andrew53 - 07-02-08 20:53  
---------------------------------------------------------------------- 
The attached patch fixes the issue 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-02-08 20:53  andrew53       Note Added: 0089637                          
======================================================================




More information about the asterisk-bugs mailing list