From: Andrey Volk Date: Fri, 20 Sep 2019 16:02:32 +0000 (+0400) Subject: FS-12057: [mod_conference] Fix video mute (use of uninitialized pointer) X-Git-Tag: v1.10.2^2~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8a18f7d83615ff54df9f9fae535839a079b82dd;p=thirdparty%2Ffreeswitch.git FS-12057: [mod_conference] Fix video mute (use of uninitialized pointer) --- diff --git a/src/mod/applications/mod_conference/conference_video.c b/src/mod/applications/mod_conference/conference_video.c index 95da2b15e9..625e2406ec 100644 --- a/src/mod/applications/mod_conference/conference_video.c +++ b/src/mod/applications/mod_conference/conference_video.c @@ -3866,7 +3866,7 @@ void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread_t *thr switch_image_t *mute_img = omember->video_mute_img ? omember->video_mute_img : omember->pcanvas_img; if (mute_img) { - switch_image_t *tmp; + switch_image_t *tmp = NULL; switch_img_copy(mute_img, &tmp); switch_img_fit(&tmp, layer->screen_w, layer->screen_h, SWITCH_FIT_SIZE);