[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 16:35:11 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 16:35 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-14-08 16:35  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 116470

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_agent.c
U   branches/1.6.0/include/asterisk/channel.h
U   branches/1.6.0/include/asterisk/utils.h
U   branches/1.6.0/main/abstract_jb.c
U   branches/1.6.0/main/channel.c
U   branches/1.6.0/main/rtp.c
U   branches/1.6.0/main/sched.c
U   branches/1.6.0/main/udptl.c

------------------------------------------------------------------------
r116470 | russell | 2008-05-14 16:35:11 -0500 (Wed, 14 May 2008) | 20
lines

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

................
r116469 | russell | 2008-05-14 16:40:43 -0500 (Wed, 14 May 2008) | 12
lines

Merged revisions 116463 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r116463 | russell | 2008-05-14 16:32:00 -0500 (Wed, 14 May 2008) | 4 lines

Add ast_assert(), which can be used to handle fatal errors.  It is only
compiled
in if dev-mode is enabled, and only aborts if DO_CRASH is defined.
(inspired by issue http://bugs.digium.com/view.php?id=12650)

........

................

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-14-08 16:35  svnbot         Checkin                                      
05-14-08 16:35  svnbot         Note Added: 0086884                          
======================================================================




More information about the asterisk-bugs mailing list