diff options
author | Etienne Lessard <elessard@proformatique.com> | 2016-08-29 08:10:34 -0400 |
---|---|---|
committer | Etienne Lessard <elessard@proformatique.com> | 2016-08-29 08:10:34 -0400 |
commit | 27951792c4c6b410f51dbe55526f3166e6183a85 (patch) | |
tree | b9583bc46d887027f910d124b061986374c50d8f /main/file.c | |
parent | 1b91adf7a1c5e9febfbd9704a9ab5c8d153d6797 (diff) |
pbx.c: Prevent infinite recursion in manager_show_dialplan_helper.
Previously, if context A was including context B and context B was including
context A, i.e. if there was a circular dependency between contexts, then
calling manager_show_dialplan_helper could lead to an infinite recursion,
resulting in a crash.
This commit applies the same solution as the one implemented in the
show_dialplan_helper function. The manager_show_dialplan_helper and
show_dialplan_helper functions contain lots of code in common, but the former
was missing the "infinite recursion avoidance" code.
ASTERISK-26226 #close
Change-Id: I1aea85133c21787226f4f8442253a93000aa0897
Diffstat (limited to 'main/file.c')
0 files changed, 0 insertions, 0 deletions