ud3tn/components
Felix Walter f553848633 bundle7: Limit allowed values for bundle block type and fix assertion
Previously the conversion to `enum bundle_block_type` could result in an
unsigned integer overflow, triggering the assertion in rare cases.

This change 1. adapts the assertion such that the check is performed
using the correct data type and 2. introduces a range check for the
bundle block type (only type codes 0-255 are defined).

Closes: #227

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2024-10-22 09:44:55 +02:00
..
aap Fix variableScope warnings by cppcheck 2024-09-11 10:12:44 +02:00
aap2 Fix constParameter and constVariable warnings by cppcheck 2024-09-11 10:13:21 +02:00
agents cla_sqlite, sqlite_agent: Fix memory leak of prepared statement on error 2024-09-30 15:54:28 +02:00
bundle6 bundle6/reports: Fix final status update in admin. record parser 2024-09-11 10:16:22 +02:00
bundle7 bundle7: Limit allowed values for bundle block type and fix assertion 2024-10-22 09:44:55 +02:00
cla cla_sqlite, sqlite_agent: Fix memory leak of prepared statement on error 2024-09-30 15:54:28 +02:00
daemon hal_task: Make detached threads optional 2024-01-23 15:25:59 +01:00
platform/posix Fix constParameter and constVariable warnings by cppcheck 2024-09-11 10:13:21 +02:00
routing/compat routing/compat: Set pointer to previous element properly 2024-09-11 10:16:22 +02:00
spp Fix constParameter and constVariable warnings by cppcheck 2024-09-11 10:13:21 +02:00
ud3tn cmdline, docs: Warn about potentially insecure AAP TCP arguments 2024-10-02 07:49:46 +02:00