From c9b8208103504928d0f6dc32657de3ef56f8414f Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 24 Mar 2018 17:49:52 +0100 Subject: [PATCH] Fix a buffer overrun when compiled without CEF. --- mixer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mixer.h b/mixer.h index 289ce45..adfb7cf 100644 --- a/mixer.h +++ b/mixer.h @@ -442,7 +442,7 @@ private: std::pair get_channel_color_http(unsigned channel_idx); HTTPD httpd; - unsigned num_cards, num_video_inputs, num_html_inputs; + unsigned num_cards, num_video_inputs, num_html_inputs = 0; QSurface *mixer_surface, *h264_encoder_surface, *decklink_output_surface; std::unique_ptr resource_pool; -- 2.39.2