aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_macro.c
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-04 16:05:59 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-04 16:05:59 +0000
commit13efb5976e4ebae357a595f5e986a76b2766bc1c (patch)
treee6e187010a1e732b096183ed8f924410658101a2 /apps/app_macro.c
parent2edd5a96f6df10a0b7154ee34d8f8e0b84a735c1 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@44351 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_macro.c')
-rw-r--r--apps/app_macro.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/app_macro.c b/apps/app_macro.c
index ede17ccf7..44d3d0610 100644
--- a/apps/app_macro.c
+++ b/apps/app_macro.c
@@ -60,7 +60,13 @@ static char *descrip =
"If you Goto out of the Macro context, the Macro will terminate and control\n"
"will be returned at the location of the Goto.\n"
"If ${MACRO_OFFSET} is set at termination, Macro will attempt to continue\n"
-"at priority MACRO_OFFSET + N + 1 if such a step exists, and N + 1 otherwise.\n";
+"at priority MACRO_OFFSET + N + 1 if such a step exists, and N + 1 otherwise.\n"
+"WARNING: Because of the way Macro is implemented (it executes the priorities\n"
+" contained within it via sub-engine), and a fixed per-thread\n"
+" memory stack allowance, macros are limited to 7 levels\n"
+" of nesting (macro calling macro calling macro, etc.); It\n"
+" may be possible that stack-intensive applications in deeply nested\n"
+" macros could cause asterisk to crash earlier than this limit.\n";
static char *if_descrip =
" MacroIf(<expr>?macroname_a[|arg1][:macroname_b[|arg1]])\n"