[Home]

Summary:ASTERISK-18762: dialplan remove include without arguments crashes asterisk
Reporter:Andrey Solovyev (corruptor)Labels:
Date Opened:2011-10-28 02:46:57Date Closed:2011-11-08 13:27:15.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:PBX/pbx_config
Versions:1.8.7.1 1.8.8.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:( 0) issueA18762-argc_check_in_dialplan_remove_include.patch
( 1) rm_include_bt.txt
Description:I've wanted to read help on CLI command "dialplan remove include " and issued it without arguments and asterisk has crashed.
To reproduce just issue the command in CLI:
"dialplan remove include " (without quotes)
I attach the backtrace.
Comments:By: leearcher (leearcher) 2011-10-28 05:14:23.983-0500

This also happen with 1.6.2.20 so must have been around for a while.

By: Walter Doekes (wdoekes) 2011-11-07 02:17:57.990-0600

Confirmed. Attached patch should fix it. Regards, Walter.

By: Andrey Solovyev (corruptor) 2011-11-07 04:52:37.028-0600

Works as expected now.
Thank you.