From 534fb5f3bc86b52110b84df426db1a10e5225dc0 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Thu, 10 Sep 2026 23:31:20 -0400 Subject: [PATCH] packetmodbpfdialog : Initialize packet BPF dialog state Initialize the packet BPF dialog members from their corresponding constructor arguments so the dialog state is defined when the dialog is created. These members were previously left uninitialized despite the constructor receiving the values used to initialize the corresponding UI controls. This resolves the uninitialized member findings reported by Coverity (UNINIT_CTOR). Signed-off-by: Robin Getz --- plugins/channeltx/modpacket/packetmodbpfdialog.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/channeltx/modpacket/packetmodbpfdialog.cpp b/plugins/channeltx/modpacket/packetmodbpfdialog.cpp index 568c7f31a..976262a0c 100644 --- a/plugins/channeltx/modpacket/packetmodbpfdialog.cpp +++ b/plugins/channeltx/modpacket/packetmodbpfdialog.cpp @@ -25,6 +25,9 @@ PacketModBPFDialog::PacketModBPFDialog(float lowFreq, float highFreq, int taps, QWidget* parent) : QDialog(parent), + m_lowFreq(lowFreq), + m_highFreq(highFreq), + m_taps(taps), ui(new Ui::PacketModBPFDialog) { ui->setupUi(this);