Closed mfunyu closed 10 months ago
only occurs on bonus compilation (problem during consolidation?)
memset(ptr, 1, i);
memset(ptr, 42, i);
memset(ptr, 0, i);
chunk = magazine->top;
if (chunk && !IS_ALLOCED(chunk) && !IS_FOOTER(chunk))
{
if (CHUNKSIZE(chunk) >= chunk_size)
{
magazine->top = remaindering(chunk, chunk_size, magazine->type);
if (!magazine->top)
crushing here in remindering
, chunk is wrong,
invalid writing into magazine->top caused by invalide index -1