glibc_ChangeLog.md
All attacks in this repo work at least in this version.
tcache (per-thread cache) is introduced (enabled in ubuntu-build since 2.27)
unlink(AV, P, BK, FD):
if (__builtin_expect (chunksize(P) != prev_size (next_chunk(P)), 0))
malloc_printerr ("corrupted size vs. prev_size");
malloc_consolidate(mstate av):
unsigned int idx = fastbin_index (chunksize (p));
if ((&fastbin (av, idx)) != fb)
malloc_printerr ("malloc_consolidate(): invalid chunk size");