Run Flatpak builds weekly to monitor code and build infrastructure.
Restrict artifact uploads to tagged releases and remove the
dedicated flatpak branch trigger (which doesn't exist anymore).
Create an issue when a scheduled build regresses from success to
failure, provided SDRangel CI/CD succeeds on the same commit indicating
a likely flatpack infrastructure problem like #3042.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Move libaio 0.3.113 to its Codeberg release archive,
updating the source checksum accordingly.
Fixes#3042
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Check default File Input, File Output, and Test MIMO device
indices before using them when creating or changing devices.
Log a warning and return if a device is unavailable, avoiding
invalid indices and improving server runtime robustness.
Coverity CIDs: 652143, 652186, 652269 and more.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Check default device indices before using them and verify
channel GUI creation succeeds before accessing the result.
Log warnings and return when resources are unavailable to
prevent invalid accesses and improve runtime robustness.
Coverity CIDs: 652207, 652226, 652248, and related findings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Check that m_website is valid before accessing its files,
preventing a null dereference when a resource is found but
the website data is unavailable. Identified by Coverity
CID 657903.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Check that getChannel() returns a valid channel before
accessing its URI or opening the presets dialog. Log a
debug message and return if the channel is unavailable.
Identified by Coverity CID 652402.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Fix swapped arguments to getSize() to match the API's
parameter order, ensuring rows and columns are assigned
correctly. Identified by Coverity CID 652313.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Fix Coverity CID 652510 by handling replies missing from
m_downloads. This error case could cause an invalid index
into m_filenames. Log a warning, schedule the reply for
deletion, and return.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Fix Coverity CIDs 652357 and 652459 by using a 32-bit
length for tag strings and appending the full string
without truncating it to the previous 16-bit length.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Fix Coverity CID 652581 by calling setReuse(false) on the
inverse FFT engine instead of the forward FFT engine.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Fix Coverity CIDs 652172, 652242, 652256, 652288, 652572, 652666, and
652679 by checking error message pointers before dereferencing them.
Use "Unknown error" when no message is available. Also use Printable for
the successful channel setting debug log.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Fix Coverity CID 655966 by checking that `m_sdrPlayThread` is
non-null before calling `setDeviceCenterFrequency()`.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Fix Coverity CID 652555 by allocating an extra byte and null-terminating the
message buffer. Guard text extraction when the delimiter is absent to avoid
reading beyond the buffer.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Fix Coverity CID 652457 by checking that `plutoBox` is non-null before
calling `setFIR()`. Also guard parameter updates and device queries
against a missing PlutoSDR box at the same time.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Fix Coverity CID 655933 by returning from catConnect() when
rig_init() fails, preventing subsequent dereferences of a
null m_rig pointer.
Signed-off-by: Robin Getz <rgetz503@gmail.com>