Fix Coverity CID 652299 by checking the result of
mainCore->getChannel() before passing it to getChannelId().
Skip the channel if the lookup returns nullptr.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Fix Coverity CID 652244 by clearing the message table column
indexes instead of the status table column sizes when
reversing APRS message table settings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Value-initialize AzAlt and sun right-ascension/declination
structures in update() to prevent use of indeterminate
coordinate values.
Identified by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Initialize prevAz to avoid using an indeterminate azimuth value
when checking satellite passes through zero degrees.
Identified by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Initialize m_scopeGUI to nullptr in the settings constructor to
prevent use of an indeterminate pointer value.
Identified by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Initialize estimated pitch, speed, signal threshold, and cost
function in MsgReportText to prevent indeterminate metric values.
Identified by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Zero-initialize RNNoise, NVIDIA, and VST3 input/output buffers and
initialize RMS and output peak levels to prevent use of
indeterminate member values.
Identified by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Delete the message when getMessageQueueToGUI() returns null.
The message is allocated in updateDeviceSetLists(), but was only
transferred to the GUI message queue when the queue existed.
Without a queue, the message was never released, causing a
resource leak reported by Coverity.
Keep the existing behavior of pushing the message to the GUI
queue when available, and explicitly delete it otherwise.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
ACARS: Add Web API support. Add additional reporting to Aircraft feature. Add Iridium support.
Aircraft feature: Add Web API support. Add additional fields and data. Add coverage map. Support feeding. Archive messages.
SELCAL: Report calls to Aircraft feature.
Map: Update Cesium. Add flyby mode. Add ND, EFIS, RMP, DCDU. Add Boeing styling. Fix z-ordering on 2D map. Support sounds on 3D map. Save/restore splitter state. Hide quota using Cesium options when API not set. Link aircraft with Aircraft feature.
Resolve GCC -Wmissing-field-initializers by explicitly initializing
the onEdit callback to an empty std::function. This ensures the
callback starts in a defined empty state and avoids relying on
implicit aggregate initialization behavior.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Avoid binding range-loop variables to temporary QString values and
compare channel type strings by value instead of pointer address.
Signed-off-by: Robin Getz <rgetz503@gmail.com>