From 42108871c923d722cf926bca782946aa64c9881e 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 fe17bdab77..8c2e367891 100644 --- a/src/mod/event_handlers/mod_rayo/srgs.c +++ b/src/mod/event_handlers/mod_rayo/srgs.c @@ -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; }