From 195949f25fb8fec61749f6366f1b01122ab19697 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 2 Jul 2012 11:55:49 -0400 Subject: [PATCH] don't seg on no valid_terminators --- src/switch_ivr_play_say.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index c483ccfbed..c15da6fb03 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -1882,7 +1882,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_read(switch_core_session_t *session, int term_required = 0; - if (*valid_terminators == '=') { + if (valid_terminators && *valid_terminators == '=') { term_required = 1; }