[asterisk-bugs] [Asterisk 0012661]: [patch] String comparison of NULL Urgent flag value crashes Asterisk.

noreply at bugs.digium.com noreply at bugs.digium.com
Thu May 15 10:07:10 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12661 
====================================================================== 
Reported By:                jaroth
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   12661
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     resolved
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 116298 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-15-2008 09:37 CDT
Last Modified:              05-15-2008 10:07 CDT
====================================================================== 
Summary:                    [patch] String comparison of NULL Urgent flag value
crashes Asterisk.
Description: 
If the Urgent flag is NULL (in some cases), strcmp() will crash Asterisk.  
This patch adds an ast_strlen_zero() check before the strcmp() of the
Urgent flag in all cases.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-15-08 10:07  svnbot         Status                   assigned => resolved
05-15-08 10:07  svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list