It is possible for dialplan to result in an infinite
recursion of variable substitution, which eventually
leads to stack overflow. If we detect this, abort
substitution and log an error for the user to fix
the broken dialplan.
Resolves: #480
UpgradeNote: The maximum amount of dialplan recursion
using variable substitution (such as by using EVAL_EXTEN)
is capped at 15.
pull/670/head
Naveen Albert1 year agocommitted byasterisk-org-access-app[bot]
ast_log(LOG_ERROR,"Exceeded maximum variable substitution recursion depth (%d) - possible infinite recursion in dialplan?\n",MAX_VARIABLE_SUB_RECURSE_DEPTH);