segfault in free #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
"else if (header->zone->type == E_SMALL)
{
header->occupied = false;
defrag_zone(header->zone);
}
else if (header->zone->type == E_TINY)
{
header->occupied = false;
defrag_zone(header->zone);
}
else
{
pthread_mutex_unlock(&g_mut);
return; // we didn't allocate this ptr
}"
defrag_zone can mummap the zone, so "else if (header->zone->type == E_TINY)" segfault (header not in user space anymore)