Summary: | ASTERISK-15025: ExternalIVR without argument causes segmentation fault | ||
Reporter: | David Ruggles (thedavidfactor) | Labels: | |
Date Opened: | 2009-10-23 11:46:07 | Date Closed: | 2009-11-10 16:06:20.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_externalivr |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) gdb.txt | |
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], '('))) { | ||
Comments: | By: Leif Madsen (lmadsen) 2009-10-26 08:59:43 Would you mind providing a backtrace as per the doc/backtrace.txt document in your Asterisk source? Thanks! By: David Ruggles (thedavidfactor) 2009-10-26 10:40:26 Sure! Please find it attached as gdb.txt By: Digium Subversion (svnbot) 2009-11-05 11:13:33.000-0600 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 ASTERISK-15025) Reported by: thedavidfactor ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=228015 By: Digium Subversion (svnbot) 2009-11-05 11:15:38.000-0600 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 ASTERISK-15025) Reported by: thedavidfactor ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=228016 By: Digium Subversion (svnbot) 2009-11-05 11:20:25.000-0600 Repository: asterisk Revision: 228017 _U branches/1.6.2/ U branches/1.6.2/apps/app_externalivr.c ------------------------------------------------------------------------ r228017 | tilghman | 2009-11-05 11:20:25 -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 ASTERISK-15025) Reported by: thedavidfactor ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=228017 |