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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 6 09:37:33 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=15020 
====================================================================== 
Reported By:                junky
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   15020
Category:                   Core/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 191785 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-05-02 14:48 CDT
Last Modified:              2009-05-06 09:37 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)

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

---------------------------------------------------------------------- 
 (0104296) svnbot (reporter) - 2009-05-06 09:37
 http://bugs.digium.com/view.php?id=15020#c104296 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 192701

_U  branches/1.6.2/
U   branches/1.6.2/res/res_clialiases.c

------------------------------------------------------------------------
r192701 | file | 2009-05-06 09:37:32 -0500 (Wed, 06 May 2009) | 12 lines

Merged revisions 192700 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192700 | file | 2009-05-06 11:35:47 -0300 (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=192701 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-06 09:37 svnbot         Checkin                                      
2009-05-06 09:37 svnbot         Note Added: 0104296                          
======================================================================




More information about the asterisk-bugs mailing list