Skip to content

DpContainer DataSize FwSizeType and FwSizeStoreType #4957

@kubiak-jpl

Description

@kubiak-jpl
F´ Version 4.2.0
Affected Component Fw/DpContainer

Problem Description

In Fw/DpContainer the data section size is set and used internally as an FwSizeType but used as a FwSizeStoreType when serialized to disk. This causes an FW_ASSERT when serializing a header with a size larger than FwSizeStoreType can hold.

Context / Environment

How to Reproduce

Expected Behavior

The DataSize getter/setter fields on DpContainer should take FwSizeStoreType so that the user is unable to serialize a value that's too large.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    CCB

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions