Description
If this happens, corruption occurs in an adjacent (usually subsequent) memory block.
...
Otherwise, if the destination is not large enough, memory corruption occurs in the following memory area.
Out-of-bounds array accesses result in undefined behavior according to the C language standard. "Memory corruption" is just one of many things that could happen. Undefined behavior is undefined and any behavior is acceptable.
Suggested change: Replace any statement that attempts to define what happens when undefined behavior occurs with "the behavior is undefined.". ThreadX cannot guarantee or define specific behavior in such cases.
If this happens,
corruption occurs in an adjacent (usually subsequent) memory blockthe behavior is undefined.
Otherwise, if the destination is not large enough,memory corruption occurs in the following memory areathe behavior is undefined.