[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
Wed May 14 15:59:49 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12650 
====================================================================== 
Reported By:                Corydon76
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12650
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             05-14-2008 13:13 CDT
Last Modified:              05-14-2008 15:59 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.
====================================================================== 

---------------------------------------------------------------------- 
 russell - 05-14-08 15:59  
---------------------------------------------------------------------- 
I would like to propose adding an ast_assert() to be used for this, and
other similar type things.  See attached patch. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-14-08 15:59  russell        Note Added: 0086873                          
======================================================================




More information about the asterisk-bugs mailing list