[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:08 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: assigned
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 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: 116590
U trunk/apps/app_voicemail.c
------------------------------------------------------------------------
r116590 | mmichelson | 2008-05-15 10:07:07 -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=116590
Issue History
Date Modified Username Field Change
======================================================================
05-15-08 10:07 svnbot Note Added: 0086904
======================================================================
More information about the asterisk-bugs
mailing list