CID: 1211941 mod_rayo - unlikely dereference of NULL pointer
This commit is contained in:
parent
17848d26be
commit
42108871c9
|
@ -1089,7 +1089,7 @@ static pcre *get_compiled_regex(struct srgs_grammar *grammar)
|
||||||
const char *regex;
|
const char *regex;
|
||||||
|
|
||||||
if (!grammar) {
|
if (!grammar) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_UUID_LOG(grammar->uuid), SWITCH_LOG_CRIT, "grammar is NULL!\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "grammar is NULL!\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue