Summary: | ASTERISK-04254: [patch] Fix help so it prints warning if no help text is provided | ||
Reporter: | James Golovich (jamesgolovich) | Labels: | |
Date Opened: | 2005-05-21 19:34:50 | Date Closed: | 2008-01-15 15:35:57.000-0600 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk-clihelp.patch.txt | |
Description: | This patch causes asterisk to print "No help text available for command..." instead of Out of memory if there is no help text provided (like on pri show debug). This also fixes a segfault if astmm is enabled. Should go into HEAD and stable. Disclaimer on file thanks to blitzrage for pointing this out | ||
Comments: | By: Russell Bryant (russell) 2005-05-24 06:25:22 fixed in CVS HEAD and 1.0, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:35:56.000-0600 Repository: asterisk Revision: 5758 U trunk/cli.c ------------------------------------------------------------------------ r5758 | russell | 2008-01-15 15:35:56 -0600 (Tue, 15 Jan 2008) | 3 lines print out appropriate message when no help text is available for a command fix a seg fault when astmm is enabled (bug ASTERISK-4254) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5758 By: Digium Subversion (svnbot) 2008-01-15 15:35:57.000-0600 Repository: asterisk Revision: 5759 U branches/v1-0/cli.c ------------------------------------------------------------------------ r5759 | russell | 2008-01-15 15:35:56 -0600 (Tue, 15 Jan 2008) | 3 lines fix output when no help text is available for a cli command fix a seg fault when astmm is enabled (bug ASTERISK-4254) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5759 |