[PATCH] D32310: [scudo] Bypass Quarantine if its size is set to 0

Dmitry Vyukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 21 01:46:54 PDT 2017


dvyukov accepted this revision.
dvyukov added a comment.
This revision is now accepted and ready to land.

If we actually plan to use such configuration, does it make sense to check header for corruption when we reallocate a block (in allocate)? That will give us at least some windows for UAF detection.

Also, we place header before user block, but buffer overruns are more common than underruns. Does it make sense to also check end of block for corruption (either add another checksum at the end, or move header to the end of block).


https://reviews.llvm.org/D32310





More information about the llvm-commits mailing list