|
|
| 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.
Problem Description
In
Fw/DpContainerthe data section size is set and used internally as anFwSizeTypebut used as aFwSizeStoreTypewhen 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
FwSizeStoreTypeso that the user is unable to serialize a value that's too large.