aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
diff options
context:
space:
mode:
authorMaxim Ostapenko <m.ostapenko@partner.samsung.com>2016-02-25 17:07:38 +0000
committerMaxim Ostapenko <m.ostapenko@partner.samsung.com>2016-02-25 17:07:38 +0000
commit50ca4464c4de6652f8ca85fdc4b77af4518c0202 (patch)
tree0a4260fe73bd15eed1d1e9698708a95557cb9adb /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
parentbe16bbc92511e8d9d367c6bf2e28947d68b1f887 (diff)
downloadllvm-50ca4464c4de6652f8ca85fdc4b77af4518c0202.zip
llvm-50ca4464c4de6652f8ca85fdc4b77af4518c0202.tar.gz
llvm-50ca4464c4de6652f8ca85fdc4b77af4518c0202.tar.bz2
[sanitizer] Fix third parameter in COMMON_INTERCEPTOR_WRITE_RANGE in recv and recvfrom interceptors.
Pass res instead of len as third parameter to COMMON_INTERCEPTOR_WRITE_RANGE, because otherwise we can write to unrelated memory (in MSan) or get wrong report (in ASan). Differential Revision: http://reviews.llvm.org/D17608 llvm-svn: 261898
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions