CID: 1211941 mod_rayo - unlikely dereference of NULL pointer

This commit is contained in:
Chris Rienzo 2014-05-08 12:10:01 -04:00
parent b1337495fb
commit 41b993755c

View File

@ -1074,7 +1074,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;
}