]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10160 [mod_conference] fix segfault when using video-mode=mux
authorAntonio <asilva@wirelessmundi.com>
Tue, 21 Mar 2017 13:35:51 +0000 (14:35 +0100)
committerAntonio <asilva@wirelessmundi.com>
Tue, 21 Mar 2017 16:31:34 +0000 (17:31 +0100)
src/mod/applications/mod_conference/conference_event.c

index f805598c70f7379df1c67d04dcd70459c66ed9a6..058a56123ace64b3e6c2da684c82f1ab600437af 100644 (file)
@@ -576,6 +576,10 @@ void conference_event_adv_layout(conference_obj_t *conference, mcu_canvas_t *can
        cJSON *msg, *data, *obj;
        int i = 0;
 
+       if (!conference->info_event_channel) {
+               return;
+       }
+
        msg = cJSON_CreateObject();
        data = json_add_child_obj(msg, "eventData", NULL);