Prevent a few edge case overflows
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ struct MemoryBlock {
|
||||
U8 *base;
|
||||
U32 size; // Block size, page aligned
|
||||
U32 pos; // start of next allocation
|
||||
U32 base_pos; // absolute position of base relative to the first linked arena
|
||||
U64 base_pos; // absolute position of base relative to the first linked arena
|
||||
U32 committed_pos; // end of committed region. Will be page aligned
|
||||
MemoryBlock *prev;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user