diff options
author | Maxim Ostapenko <m.ostapenko@partner.samsung.com> | 2016-11-30 09:11:47 +0000 |
---|---|---|
committer | Maxim Ostapenko <m.ostapenko@partner.samsung.com> | 2016-11-30 09:11:47 +0000 |
commit | d13634016677b003369f7cba919496ed7fe75870 (patch) | |
tree | ab545d4e36528d5adfb57f2f93479981cf3f9712 /lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp | |
parent | cc7eafcf42cbbbd41c9ef1430e6310aaf18a4066 (diff) | |
download | bcm5719-llvm-d13634016677b003369f7cba919496ed7fe75870.tar.gz bcm5719-llvm-d13634016677b003369f7cba919496ed7fe75870.zip |
[asan] Avoid redundant poisoning checks in __sanitizer_contiguous_container_find_bad_address.
__sanitizer_contiguous_container_find_bad_address computes three regions of a
container to check for poisoning: begin, middle, end. The issue is that in current
design the first region can be significantly larger than kMaxRangeToCheck.
Proposed patch fixes a typo to calculate the first region properly.
Patch by Ivan Baravy.
Differential Revision: https://reviews.llvm.org/D27061
llvm-svn: 288234
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp')
0 files changed, 0 insertions, 0 deletions