[asterisk-bugs] [Asterisk 0013804]: app_directory crashses Asterisk when voicemail entry doesn't have a name

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 29 15:12:35 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13804 
====================================================================== 
Reported By:                bluecrow76
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13804
Category:                   Applications/app_directory
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-29 15:11 CDT
Last Modified:              2008-10-29 15:12 CDT
====================================================================== 
Summary:                    app_directory crashses Asterisk when voicemail entry
doesn't have a name
Description: 
example voicemail.conf:
[voicemail-context]
101 => 101
102 => 102,Extension 102

After the Directory application requests the first three letters for the
search, when it performs the search, it will crash asterisk when it tries
to parse the line with no name.

My fix was to change the offending lines to something like the following,
but it appears a check needs to be added.
101 => 101,101
====================================================================== 

---------------------------------------------------------------------- 
 (0094373) bluecrow76 (reporter) - 2008-10-29 15:12
 http://bugs.digium.com/view.php?id=13804#c94373 
---------------------------------------------------------------------- 
Attached file asterisk-1.6.0.1-app_directory-bugreport.txt with gdb output. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-29 15:12 bluecrow76     Note Added: 0094373                          
======================================================================




More information about the asterisk-bugs mailing list