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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun May 3 10:40:14 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-03 10:40 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)

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

---------------------------------------------------------------------- 
 (0104068) russell (administrator) - 2009-05-03 10:40
 http://bugs.digium.com/view.php?id=15020#c104068 
---------------------------------------------------------------------- 
The problem appears to be CLI_GENERATE handling in the CLI command
passthrough handler.  It doesn't take into account the fact that the alias
and the real CLI command can have different numbers of words in them. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-03 10:40 russell        Note Added: 0104068                          
======================================================================




More information about the asterisk-bugs mailing list