提交 42108871 authored 作者: Chris Rienzo's avatar Chris Rienzo

CID: 1211941 mod_rayo - unlikely dereference of NULL pointer

上级 17848d26
......@@ -1089,7 +1089,7 @@ static pcre *get_compiled_regex(struct srgs_grammar *grammar)
const char *regex;
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;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论