summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-12-08 18:49:50 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-12-08 18:49:50 +0000
commit58716e94ba2e3c4ecae017806d9db85e6eb36b5e (patch)
tree6c9dc6562ff1a8471c397a1d328e20fe069ed603
parentdb99faa00dead98ad7f52551777c610d8ccad703 (diff)
Allocate enough space initially for the message.
(closes issue #14027) Reported by: junky Patches: M14027.diff uploaded by junky (license 177) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--main/manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/manager.c b/main/manager.c
index 945e369df..47a7f42b9 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -545,8 +545,8 @@ static char *handle_showmanager(struct ast_cli_entry *e, int cmd, struct ast_cli
struct ast_manager_user *user = NULL;
int l, which;
char *ret = NULL;
- struct ast_str *rauthority = ast_str_alloca(80);
- struct ast_str *wauthority = ast_str_alloca(80);
+ struct ast_str *rauthority = ast_str_alloca(128);
+ struct ast_str *wauthority = ast_str_alloca(128);
switch (cmd) {
case CLI_INIT: