CodeQL findings — Svc/Ccsds/AosFramer

devel @ e84571354780 · generated 2026-09-03T21:21:21Z
FileLineRuleSeverityMessage
Svc/Ccsds/AosFramer/AosFramer.cpp:103103cpp/fprime/unguarded-unsigned-subtractionmediumUnsigned subtraction from getSize() with no check that it is at least the subtracted constant; this underflows instead of going negative when the size is too small.
Svc/Ccsds/AosFramer/AosFramer.cpp:178178cpp/fprime/magic-numberslowMagic number 0x0300; consider a named constant (enum, static constexpr, or #define).
Svc/Ccsds/AosFramer/AosFramer.cpp:181181cpp/fprime/magic-numberslowMagic number 0x0F000000; consider a named constant (enum, static constexpr, or #define).
Svc/Ccsds/AosFramer/AosFramer.cpp:279279cpp/fprime/incomplete-codelowComment contains the incomplete-code marker TODO.
Svc/Ccsds/AosFramer/AosFramer.cpp:382382cpp/jpl-c/function-size-limitslowfill_with_idle_packet has too many lines (63, while 60 are allowed).
Svc/Ccsds/AosFramer/AosFramer.cpp:412412cpp/fprime/incomplete-codelowComment contains the incomplete-code marker TODO.
Svc/Ccsds/AosFramer/AosFramer.hpp:165165cpp/fprime/incomplete-codelowComment contains the incomplete-code marker TODO.