Skip to content
Commit 1bc7298c authored by Evgeniy Stepanov's avatar Evgeniy Stepanov
Browse files

[asan] Fix nonsensical reports of partial right OOB.

In case of partial right OOB, ASan was reporting
  X is located 0 bytes to the right of [A, B)
where X was actually inside [A, B).

With this change, ASan will report B as the error address in such case.

llvm-svn: 174373
parent 4b724429
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment