From: Russell Bryant Date: Thu, 17 May 2007 16:47:29 +0000 (+0000) Subject: Increase the size of a buffer to support longer dial strings for channels. X-Git-Tag: 1.4.5~168 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78989c792fc04421b4fc9a4dea33f160654f7ce2;p=thirdparty%2Fasterisk.git Increase the size of a buffer to support longer dial strings for channels. (issue #9291, reported and fix suggested by meni) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64756 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_dial.c b/apps/app_dial.c index cceec384bf..91e7325f2e 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -786,7 +786,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags int numcongestion = 0; int numnochan = 0; int cause; - char numsubst[AST_MAX_EXTENSION]; + char numsubst[256]; char cidname[AST_MAX_EXTENSION]; int privdb_val = 0; unsigned int calldurationlimit = 0;