From fcdb5329e1dfb8569276dd6354c4a16f33be1692 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Mon, 26 Oct 2026 17:47:01 -0400 Subject: [PATCH] dtv: Initialize UDP datagram buffer Value-initialize m_datagram so its contents are defined before the buffer is filled with received datagram data. Identified by cppcheck. Signed-off-by: Robin Getz --- sdrbase/dtv/dtvudp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sdrbase/dtv/dtvudp.cpp b/sdrbase/dtv/dtvudp.cpp index 87c887ddc..1c46c2eed 100644 --- a/sdrbase/dtv/dtvudp.cpp +++ b/sdrbase/dtv/dtvudp.cpp @@ -25,6 +25,7 @@ DTVUDP::DTVUDP() : m_port(5004), + m_datagram{}, m_datagramFill(0), m_datagrams(0), m_address(QHostAddress::LocalHost),