[asterisk-bugs] [Asterisk 0012650]: [patch] Warn when a string of "(null)" is passed to ast_strlen_zero

noreply at bugs.digium.com noreply at bugs.digium.com
Thu May 15 17:01:29 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12650 
====================================================================== 
Reported By:                Corydon76
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   12650
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 116297 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-14-2008 13:13 CDT
Last Modified:              05-15-2008 17:01 CDT
====================================================================== 
Summary:                    [patch] Warn when a string of "(null)" is passed to
ast_strlen_zero
Description: 
Found one of these cases before, thought it might be a good idea to add
code (for dev-mode only) to detect additional cases in the future.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 05-15-08 17:01  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 116695

_U  branches/1.6.0/
U   branches/1.6.0/include/asterisk/strings.h
U   branches/1.6.0/include/asterisk/utils.h

------------------------------------------------------------------------
r116695 | tilghman | 2008-05-15 17:01:27 -0500 (Thu, 15 May 2008) | 12
lines

Merged revisions 116694 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r116694 | tilghman | 2008-05-15 17:05:47 -0500 (Thu, 15 May 2008) | 4
lines

Add an extra check in ast_strlen_zero, and make ast_assert() not print the
file, line, and function name twice.
(Closes issue http://bugs.digium.com/view.php?id=12650)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=116695 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-15-08 17:01  svnbot         Checkin                                      
05-15-08 17:01  svnbot         Note Added: 0086928                          
======================================================================




More information about the asterisk-bugs mailing list