[Home]

Summary:ASTERISK-03677: "help show config mappings" fails
Reporter:Kenneth Shumard (kshumard)Labels:
Date Opened:2005-03-13 14:05:18.000-0600Date Closed:2008-01-15 15:27:34.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Documentation
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) config.c.showconfigmappings.patch.txt
Description:This patch modifies the ast_cli_entry for config_command_struct in config.c. It had no help or command complete functions specified, and "help show config mappings" caused a (false) "Out of memory" error from cli.c on some systems, and segfaulted others (non-x86). The patch NULL-terminates the command name, adds a usage string, and sets the command complete function to NULL.

****** ADDITIONAL INFORMATION ******

CVS isn't fresh but config.c hasn't changed in the last week. Patch should apply cleanly.
Comments:By: Kenneth Shumard (kshumard) 2005-03-13 14:06:28.000-0600

Forgot to mention: Disclaimer on file. : )

By: twisted (twisted) 2005-03-16 18:39:47.000-0600

Fixed in CVS, Thanks!

By: Russell Bryant (russell) 2005-03-17 08:32:05.000-0600

not included in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:27:34.000-0600

Repository: asterisk
Revision: 5185

U   trunk/config.c

------------------------------------------------------------------------
r5185 | twisted | 2008-01-15 15:27:34 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix help and command line completion for "show config mappings" (Bug ASTERISK-3677)

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

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