]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Increase the size of a buffer to support longer dial strings for channels.
authorRussell Bryant <russell@russellbryant.com>
Thu, 17 May 2007 16:47:29 +0000 (16:47 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 17 May 2007 16:47:29 +0000 (16:47 +0000)
(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

apps/app_dial.c

index cceec384bf44bb6afc665847c001b0ed6e47fb66..91e7325f2ef78118ce4db88d6dd579e09791c027 100644 (file)
@@ -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;