aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-22 17:18:07 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-22 17:18:07 +0000
commit998a907e04f48fd9c8d535178359583685b04d6c (patch)
tree4466b1b3841b2baab6f386993f0521d1382bd83c /pbx
parent96509c26b6b8a050adafad00c0f4c16108f559d7 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@170158 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index aa1d17d5c..ad3c86abe 100644
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -2245,7 +2245,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;