mirror of
https://gitlab.com/d3tn/ud3tn.git
synced 2026-08-13 12:33:27 +02:00
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> |
||
|---|---|---|
| .. | ||
| aap | ||
| aap2 | ||
| agents | ||
| bundle6 | ||
| bundle7 | ||
| cla | ||
| platform | ||
| routing/compat | ||
| spp | ||
| ud3tn | ||