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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 6 09:35:48 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:                     confirmed
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-06 09:35 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)

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

---------------------------------------------------------------------- 
 (0104295) svnbot (reporter) - 2009-05-06 09:35
 http://bugs.digium.com/view.php?id=15020#c104295 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 192700

U   trunk/res/res_clialiases.c

------------------------------------------------------------------------
r192700 | file | 2009-05-06 09:35:47 -0500 (Wed, 06 May 2009) | 5 lines

Fix an infinite loop with tab completion of CLI aliases that reference
themselves.

(closes issue http://bugs.digium.com/view.php?id=15020)
Reported by: junky

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=192700 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-06 09:35 svnbot         Note Added: 0104295                          
======================================================================




More information about the asterisk-bugs mailing list