[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 09:37:56 CDT 2008


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12661 
====================================================================== 
Reported By:                jaroth
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12661
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!): 116298 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-15-2008 09:37 CDT
Last Modified:              05-15-2008 09:37 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 09:37  jaroth         Summary                  String comparison of
NULL Urgent flag value crashes Asterisk. => [patch] String comparison of NULL
Urgent flag value crashes Asterisk.
======================================================================




More information about the asterisk-bugs mailing list