[asterisk-bugs] [Asterisk 0016119]: ExternalIVR without argument causes segmentation fault
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Nov 5 11:15:38 CST 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16119
======================================================================
Reported By: thedavidfactor
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 16119
Category: Applications/app_externalivr
Reproducibility: always
Severity: crash
Priority: normal
Status: closed
Asterisk Version: 1.6.1.6
JIRA: SWP-306
Regression: No
Reviewboard Link:
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-10-23 11:46 CDT
Last Modified: 2009-11-05 11:15 CST
======================================================================
Summary: ExternalIVR without argument causes segmentation
fault
Description:
If ExternlIVR is called without an argument it causes an instantaneous
Segmentation fault. I'm a noob with c, but using some printf's I think I
tracked to this line:
355: if ((s = strchr(eivr_args.cmd[0], '('))) {
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
parent of 0016174 [patch] ExternalIVR does not handle arg...
======================================================================
----------------------------------------------------------------------
(0113208) svnbot (reporter) - 2009-11-05 11:15
https://issues.asterisk.org/view.php?id=16119#c113208
----------------------------------------------------------------------
Repository: asterisk
Revision: 228016
_U branches/1.6.1/
U branches/1.6.1/apps/app_externalivr.c
------------------------------------------------------------------------
r228016 | tilghman | 2009-11-05 11:15:37 -0600 (Thu, 05 Nov 2009) | 11
lines
Merged revisions 228015 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r228015 | tilghman | 2009-11-05 11:08:02 -0600 (Thu, 05 Nov 2009) | 4
lines
Don't crash if no arguments are passed.
(closes issue https://issues.asterisk.org/view.php?id=16119)
Reported by: thedavidfactor
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=228016
Issue History
Date Modified Username Field Change
======================================================================
2009-11-05 11:15 svnbot Checkin
2009-11-05 11:15 svnbot Note Added: 0113208
======================================================================
More information about the asterisk-bugs
mailing list