[asterisk-commits] file: branch 13 r428632 - /branches/13/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 1 07:07:49 CST 2014


Author: file
Date: Mon Dec  1 07:07:35 2014
New Revision: 428632

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=428632
Log:
channel: Extend size of buffer for codecs in "core show channeltype" CLI command.

The static buffer for codecs when invoking the "core show channeltype" CLI command
did not have enough room for all codecs. This has been extended so it does.

ASTERISK-24542 #close
Reported by: snuffy
patches:
 channeltype-tech.diff submitted by snuffy (license 5024)

Review: https://reviewboard.asterisk.org/r/4204/

Modified:
    branches/13/main/channel.c

Modified: branches/13/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/main/channel.c?view=diff&rev=428632&r1=428631&r2=428632
==============================================================================
--- branches/13/main/channel.c (original)
+++ branches/13/main/channel.c Mon Dec  1 07:07:35 2014
@@ -342,7 +342,7 @@
 static char *handle_cli_core_show_channeltype(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
 {
 	struct chanlist *cl = NULL;
-	struct ast_str *codec_buf = ast_str_alloca(64);
+	struct ast_str *codec_buf = ast_str_alloca(256);
 
 	switch (cmd) {
 	case CLI_INIT:




More information about the asterisk-commits mailing list