[asterisk-bugs] [Asterisk 0016119]: ExternalIVR without argument causes segmentation fault
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Nov 5 11:13:34 CST 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16119
======================================================================
Reported By: thedavidfactor
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16119
Category: Applications/app_externalivr
Reproducibility: always
Severity: crash
Priority: normal
Status: acknowledged
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:
======================================================================
Date Submitted: 2009-10-23 11:46 CDT
Last Modified: 2009-11-05 11:13 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...
======================================================================
----------------------------------------------------------------------
(0113207) svnbot (reporter) - 2009-11-05 11:13
https://issues.asterisk.org/view.php?id=16119#c113207
----------------------------------------------------------------------
Repository: asterisk
Revision: 228015
U trunk/apps/app_externalivr.c
------------------------------------------------------------------------
r228015 | tilghman | 2009-11-05 11:13:33 -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=228015
Issue History
Date Modified Username Field Change
======================================================================
2009-11-05 11:13 svnbot Checkin
2009-11-05 11:13 svnbot Note Added: 0113207
======================================================================
More information about the asterisk-bugs
mailing list