From bbbcf9260f7c47acf165dfb14516de6e93d4add7 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sun, 25 Oct 2026 14:18:13 -0400 Subject: [PATCH] demoddvb: Initialize player info before checking player Value-initialize the local DTVVideoPlayer::Info object in displayPlayerInfo() so its members are initialized when no player instance is available. Coverity CID 657528 identified a possible uninitialized read of m_audioFrames. Signed-off-by: Robin Getz --- plugins/channelrx/demoddvb/dvbdemodgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channelrx/demoddvb/dvbdemodgui.cpp b/plugins/channelrx/demoddvb/dvbdemodgui.cpp index 5966a4839..3623fecc5 100644 --- a/plugins/channelrx/demoddvb/dvbdemodgui.cpp +++ b/plugins/channelrx/demoddvb/dvbdemodgui.cpp @@ -2801,7 +2801,7 @@ QString DVBDemodGUI::shortCodecName(const QString& name) // The codecs and picture size in the table, the A/V problems, and the mute button green while audio is playing void DVBDemodGUI::displayPlayerInfo(uint64_t tsOverflows) { - DTVVideoPlayer::Info info; + DTVVideoPlayer::Info info{}; if (m_player) { info = m_player->getInfo();