]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_conference] Fix possible NULL argument. 292/head
authorAndrey Volk <andywolk@gmail.com>
Wed, 12 Feb 2020 19:31:34 +0000 (23:31 +0400)
committerAndrey Volk <andywolk@gmail.com>
Wed, 12 Feb 2020 19:31:34 +0000 (23:31 +0400)
src/mod/applications/mod_conference/conference_event.c

index 6977b8a494d9c5785ae56400c6d64e9d67b63c51..8a84fdd0495deed12bdb87fe777da3530af6f2ab 100644 (file)
@@ -108,7 +108,7 @@ void conference_event_mod_channel_handler(const char *event_channel, cJSON *json
                }
        }
 
-       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "conf %s CMD %s [%s] %s\n", conference_name, key, action, cid);
+       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "conf %s CMD %s [%s] %s\n", conference_name, key, action ? action : "N/A", cid);
 
        if (zstr(action)) {
                goto end;