don't seg on no valid_terminators
This commit is contained in:
parent
7f41862156
commit
195949f25f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue