It's more likely that we have a UAF than an OOB in blocks that are
more than 1 block away from the fault address, so the UAF should
appear first in the error report.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/scudo/standalone/combined.h | ||
---|---|---|
1325 | Did you mean if (CheckOOB(Info.BlockBegin) || MinDistance == 0) ? |
compiler-rt/lib/scudo/standalone/combined.h | ||
---|---|---|
1325 | I think that would result in us not checking the surrounding blocks if MinDistance == 0, even if MaxDistance was some larger number. |
Did you mean
?