summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-04-08 08:39:50 +0000
committerPavel Labath <pavel@labath.sk>2019-04-08 08:39:50 +0000
commit618dcfcaa3386a15418e02d0f8c5d06bebf6a2cb (patch)
treefb0c5c0177d94781982b260d5d08445eabb3d87d /lldb/scripts/Python
parent6a6da233b903541e2f660d1821e7de4bd19a3d6b (diff)
downloadbcm5719-llvm-618dcfcaa3386a15418e02d0f8c5d06bebf6a2cb.tar.gz
bcm5719-llvm-618dcfcaa3386a15418e02d0f8c5d06bebf6a2cb.zip
[Sanitizer] Fix a possible write to freed memory in the wcrtomb interceptor
Summary: r357240 added an interceptor for wctomb, which uses a temporary local buffer to make sure we don't write to unallocated memory. This patch applies the same technique to wcrtomb, and adds some additional tests for this function. Reviewers: vitalybuka, eugenis Subscribers: kubamracek, delcypher, llvm-commits, #sanitizers Tags: #llvm, #sanitizers Differential Revision: https://reviews.llvm.org/D59984 llvm-svn: 357889
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud