[asterisk-bugs] [Asterisk 0014758]: app_followme doesn't initialize targs

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Mar 29 00:51:56 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14758 
====================================================================== 
Reported By:                tim_ringenbach
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14758
Category:                   Applications/app_followme
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.24 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-25 19:15 CDT
Last Modified:              2009-03-29 00:51 CDT
====================================================================== 
Summary:                    app_followme doesn't initialize targs
Description: 
app_followme.c doesn't initialize targs (specificly targs.followmeflags),
leading to random things happening if (args.options) is false.

It should either memset(&targs, 0, sizeof(struct fm_args)); or do
something like struct fm_args targs = {0, };
====================================================================== 

---------------------------------------------------------------------- 
 (0102345) svnbot (reporter) - 2009-03-29 00:51
 http://bugs.digium.com/view.php?id=14758#c102345 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 184842

U   branches/1.4/apps/app_followme.c

------------------------------------------------------------------------
r184842 | russell | 2009-03-29 00:51:55 -0500 (Sun, 29 Mar 2009) | 5 lines

Ensure targs variable is fully initialized.

(closes issue http://bugs.digium.com/view.php?id=14758)
Reported by: tim_ringenbach

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-29 00:51 svnbot         Checkin                                      
2009-03-29 00:51 svnbot         Note Added: 0102345                          
======================================================================




More information about the asterisk-bugs mailing list