From d19a1932143259f3ffb3d3e675ef21abf94474cc Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Thu, 22 Jan 2009 17:21:39 +0000 Subject: [PATCH] Merged revisions 170165 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r170165 | tilghman | 2009-01-22 11:19:28 -0600 (Thu, 22 Jan 2009) | 13 lines Merged revisions 170158 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r170158 | tilghman | 2009-01-22 11:18:07 -0600 (Thu, 22 Jan 2009) | 6 lines Allow global variables after substitution to be as long as other variables. (closes issue #14263) Reported by: markd Patches: 20090120__bug14263.diff.txt uploaded by Corydon76 (license 14) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@170178 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx/pbx_config.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index bd4390e97c..5544cf0797 100644 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -1408,7 +1408,11 @@ static int pbx_load_config(const char *config_file) struct ast_config *cfg; char *end; char *label; +#ifdef LOW_MEMORY char realvalue[256]; +#else + char realvalue[8192]; +#endif int lastpri = -2; struct ast_context *con; struct ast_variable *v;