[asterisk-bugs] [Asterisk 0014758]: app_followme doesn't initialize targs
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Mar 29 00:56:51 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14758
======================================================================
Reported By: tim_ringenbach
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 14758
Category: Applications/app_followme
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.4.24
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-03-25 19:15 CDT
Last Modified: 2009-03-29 00:56 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, };
======================================================================
----------------------------------------------------------------------
(0102349) svnbot (reporter) - 2009-03-29 00:56
http://bugs.digium.com/view.php?id=14758#c102349
----------------------------------------------------------------------
Repository: asterisk
Revision: 184846
_U branches/1.6.2/
U branches/1.6.2/apps/app_followme.c
------------------------------------------------------------------------
r184846 | russell | 2009-03-29 00:56:51 -0500 (Sun, 29 Mar 2009) | 21
lines
Merged revisions 184843 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r184843 | russell | 2009-03-29 00:52:20 -0500 (Sun, 29 Mar 2009) | 13
lines
Merged revisions 184842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
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=184846
Issue History
Date Modified Username Field Change
======================================================================
2009-03-29 00:56 svnbot Checkin
2009-03-29 00:56 svnbot Note Added: 0102349
======================================================================
More information about the asterisk-bugs
mailing list