Fix crash when dialplan remove include is called with too few arguments.
authorWalter Doekes <walter+asterisk@wjd.nu>
Tue, 8 Nov 2011 19:29:25 +0000 (19:29 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Tue, 8 Nov 2011 19:29:25 +0000 (19:29 +0000)
commitbc370b5462819bdbafcce30319af5a7660211cc5
tree4694626b879c98c7d313feb90eda9db7a6007d40
parent5cb719acecffc204d84966a15bff3ff261f1292a
Fix crash when dialplan remove include is called with too few arguments.

"dialplan remove include x from y" crashed when the amount of arguments
was less than 6.

(closes issue ASTERISK-18762)
Reported by: Andrey Solovyev
Tested by: Andrey Solovyev
........

Merged revisions 343936 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 343944 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@343951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
pbx/pbx_config.c