diff options
author | Pavel Labath <pavel@labath.sk> | 2019-04-08 08:39:50 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-04-08 08:39:50 +0000 |
commit | 618dcfcaa3386a15418e02d0f8c5d06bebf6a2cb (patch) | |
tree | fb0c5c0177d94781982b260d5d08445eabb3d87d /lldb/scripts/Python | |
parent | 6a6da233b903541e2f660d1821e7de4bd19a3d6b (diff) | |
download | bcm5719-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