diff options
Diffstat (limited to 'utils/extconf.c')
-rw-r--r-- | utils/extconf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/extconf.c b/utils/extconf.c index d035e12c0..116302280 100644 --- a/utils/extconf.c +++ b/utils/extconf.c @@ -4605,6 +4605,10 @@ static struct ast_exten *pbx_find_extension(struct ast_channel *chan, struct ast_exten *e, *eroot; struct ast_include *i; + if (!context) { + return NULL; + } + /* Initialize status if appropriate */ if (q->stacklen == 0) { q->status = STATUS_NO_CONTEXT; |