[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:30 CDT 2008
A NOTE has been added to this issue.
======================================================================
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: closed
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.
======================================================================
----------------------------------------------------------------------
svnbot - 05-15-08 10:07
----------------------------------------------------------------------
Repository: asterisk
Revision: 116591
_U branches/1.6.0/
------------------------------------------------------------------------
r116591 | mmichelson | 2008-05-15 10:07:30 -0500 (Thu, 15 May 2008) | 15
lines
Blocked revisions 116590 via svnmerge
........
r116590 | mmichelson | 2008-05-15 10:13:11 -0500 (Thu, 15 May 2008) | 8
lines
Prevent crashes from occurring due to a strcmp of a NULL pointer.
(closes issue http://bugs.digium.com/view.php?id=12661)
Reported by: jaroth
Patches:
urgentcompare.patch uploaded by jaroth (license 50)
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=116591
Issue History
Date Modified Username Field Change
======================================================================
05-15-08 10:07 svnbot Checkin
05-15-08 10:07 svnbot Note Added: 0086905
======================================================================
More information about the asterisk-bugs
mailing list