From: Chris Rienzo Date: Thu, 8 May 2014 16:10:01 +0000 (-0400) Subject: CID: 1211941 mod_rayo - unlikely dereference of NULL pointer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41b993755c1c382ea19bdcb116a7fdfeb347a37b;p=thirdparty%2Ffreeswitch.git CID: 1211941 mod_rayo - unlikely dereference of NULL pointer --- 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; }