Skip to content
  • Daniel Gröber (dxld)'s avatar
    rts: Fix Arena blocks accounting for MBlock sized allocations · 1183ae94
    Daniel Gröber (dxld) authored and Marge Bot's avatar Marge Bot committed
    When requesting more than BLOCKS_PER_MBLOCK blocks allocGroup can return a
    different number of blocks than requested. Here we use the number of
    requested blocks, however arenaFree will subtract the actual number of
    blocks we got from arena_blocks (possibly) resulting in a negative value
    and triggering ASSERT(arena_blocks >= 0).
    1183ae94