[asterisk-bugs] [Asterisk 0015020]: tab completion sefault when using with CLI aliases

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 4 18:51:05 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=15020 
====================================================================== 
Reported By:                junky
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15020
Category:                   Core/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 191785 
Request Review:              
====================================================================== 
Date Submitted:             2009-05-02 14:48 CDT
Last Modified:              2009-05-04 18:51 CDT
====================================================================== 
Summary:                    tab completion sefault when using with CLI aliases
Description: 
when using the default cli_aliases.conf, if you enable the 3 templates
(asterisk12,asterisk14,individual_custom), if you hit tab twice on a CLI
alias, its segfault.


ex.
*CLI> mute<tab><tab>
or
*CLI> dial
dialplan  dial      
*CLI> dial<space>
dialplan  dial      
*CLI> dial <tab>Segmentation fault (core dumped)

====================================================================== 

---------------------------------------------------------------------- 
 (0104184) telecos82 (reporter) - 2009-05-04 18:51
 http://bugs.digium.com/view.php?id=15020#c104184 
---------------------------------------------------------------------- 
The problem is with the definition of the alias 'console=console active' in
template asterisk12 (if we comment this line the segfault doesn't occur).
For instance, when we enter dial, which is an alias for 'console dial', it
translates it and then treats console as an alias for 'console active'
entering in an infinte loop because it seems that console alias priorices
over console command. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-04 18:51 telecos82      Note Added: 0104184                          
======================================================================




More information about the asterisk-bugs mailing list