From 41b993755c1c382ea19bdcb116a7fdfeb347a37b Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Thu, 8 May 2014 12:10:01 -0400 Subject: [PATCH] CID: 1211941 mod_rayo - unlikely dereference of NULL pointer --- src/mod/event_handlers/mod_rayo/srgs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/event_handlers/mod_rayo/srgs.c b/src/mod/event_handlers/mod_rayo/srgs.c index 78d33388fe..57edd16999 100644 --- a/src/mod/event_handlers/mod_rayo/srgs.c +++ b/src/mod/event_handlers/mod_rayo/srgs.c @@ -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; }