You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The data structures used by DpCatalog are overlayed on a single allocated buffer.
The free list is allocated at the beginning of the memory buffer
The stack for traversing the tree is allocated at the next byte past 1)
The state file data is allocated at the next byte past 2)
Depending on the alignment requirements of 2) and 3), they could be misaligned on some architectures if the next byte past 1) and 2) are used. This could cause crashes.
This issue would force the alignment of the structures based on their alignment requirements.
Rationale
Safe code!
The text was updated successfully, but these errors were encountered:
Svc/DpCatalog
Feature Description
The data structures used by
DpCatalog
are overlayed on a single allocated buffer.Depending on the alignment requirements of 2) and 3), they could be misaligned on some architectures if the next byte past 1) and 2) are used. This could cause crashes.
This issue would force the alignment of the structures based on their alignment requirements.
Rationale
Safe code!
The text was updated successfully, but these errors were encountered: