Skip to content

String-formatting and buffer-safety patterns require hardening review #1034

@jackwill-hub

Description

@jackwill-hub

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.

Describe the bug
Static review identified formatting or string-handling patterns that may require additional hardening review. These were flagged as potentially unsafe patterns and should be validated for bounded behavior.

To Reproduce
Steps to reproduce the behavior:

  • Run static analysis on the affected cFS modules.
  • Inspect the flagged formatting and string-handling paths.
  • Review bounds assumptions and caller-controlled inputs.
  • See audit-required patterns.

Expected behavior
Formatting and string-handling logic should be clearly bounded and robust by inspection.

Code snips
cFS/cfe/modules/sb/fsw/src/cfe_sb_priv.c:282
cFS/cfe/modules/es/fsw/src/cfe_es_cds.c:676

System observed on:
Versions: cFS repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions