[PATCH v2 0/7] Additional integrity checks for the malloc

DJ Delorie dj@redhat.com
Thu Nov 16 04:18:00 GMT 2017


I've reviewed the patches and they all LGTM but I'd want someone else to
check them also, preferably someone with more security experience.

Performance-wise, I benchmarked your patches against an unpatched glibc,
and saw no discernable performance change - half the benchmarks were
within 0.3% faster, the other half within 0.3% slower, which is still
"in the noise".  Most were much closer to "same".

Some of the patches got me wondering if we could, for example, store a
global "largest prev-chunk for an mmapped area" or store more data in
the mmap's fake prev chunk to further validate things.  Something for a
future patch perhaps.

Thanks!



More information about the Libc-alpha mailing list