From df733a7fde2fc30f236865b55a84c09b97cd9516 Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Thu, 8 May 2014 12:11:15 -0400 Subject: [PATCH] CID: 1211940 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 57edd16999..b86704828f 100644 --- a/src/mod/event_handlers/mod_rayo/srgs.c +++ b/src/mod/event_handlers/mod_rayo/srgs.c @@ -1573,7 +1573,7 @@ const char *srgs_grammar_to_jsgf(struct srgs_grammar *grammar) const char *srgs_grammar_to_jsgf_file(struct srgs_grammar *grammar, const char *basedir, const char *ext) { 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; } switch_mutex_lock(grammar->mutex);