Changes

Summary

  1. scudo: Require fault address to be in bounds for UAF. (details)
Commit 6732a5328cf03872d53827d3e0e283fcf16b551a by peter
scudo: Require fault address to be in bounds for UAF.

The bounds check that we previously had here was suitable for secondary
allocations but not for UAF on primary allocations, where it is likely
to result in false positives. Fix it by using a different bounds check
for UAF that requires the fault address to be in bounds.

Differential Revision: https://reviews.llvm.org/D102376
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h