Skip to content
  • Nick Mathewson's avatar
    Fix an assertion-failure in memarea_alloc() on 64-bit platforms. · 9f25a552
    Nick Mathewson authored
    The trick is that we should assert that our next_mem pointer has not
    run off the end of the array _before_ we realign the pointer, since
    doing that could take us over the end... but only if we're on a system
    where malloc() gives us ram in increments smaller than sizeof(void*).
    9f25a552