ud3tn/include
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 style: Spacing, indentation, long lines, continuations 2023-07-25 13:15:05 +02:00
aap2 aap2, cla, cmdline: Pass maximum bundle size to BDM 2024-07-04 16:00:30 +02:00
agents AAPv1: Set the BDM auth. flag if remote config is allowed 2024-06-26 13:32:23 +02:00
bundle6 TX: Allow the bundle serializers to indicate failure if CLA fails 2024-06-21 12:38:15 +02:00
bundle7 TX: Allow the bundle serializers to indicate failure if CLA fails 2024-06-21 12:38:15 +02:00
cla Fix constParameter and constVariable warnings by cppcheck 2024-09-11 10:13:21 +02:00
platform include/platform: Address style issue in function-like macro 2024-09-11 10:10:43 +02:00
routing/compat Fix constParameter and constVariable warnings by cppcheck 2024-09-11 10:13:21 +02:00
spp style: Spacing, indentation, long lines, continuations 2023-07-25 13:15:05 +02:00
ud3tn bundle7: Limit allowed values for bundle block type and fix assertion 2024-10-22 09:44:55 +02:00