]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
CID: 1211941 mod_rayo - unlikely dereference of NULL pointer
authorChris Rienzo <chris.rienzo@grasshopper.com>
Thu, 8 May 2014 16:10:01 +0000 (12:10 -0400)
committerChris Rienzo <chris.rienzo@grasshopper.com>
Thu, 8 May 2014 16:16:13 +0000 (12:16 -0400)
src/mod/event_handlers/mod_rayo/srgs.c

index 78d33388fe17c43a54db3dbed1260cb0788c023f..57edd169993ad21ceb5b12285ce6376bc1fe940e 100644 (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;
        }