diff options
author | Vitaly Buka <vitalybuka@google.com> | 2017-02-02 20:10:07 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2017-02-02 20:10:07 +0000 |
commit | 67248be160a147a711e2f6b53b6a3270dca7dd21 (patch) | |
tree | 6bea644b1788e6a0e31a36c5dcb98326c7832efb /test/tsan | |
parent | dafbfeaa2a09e1fec8fa81304bfb80bb0b36763d (diff) |
[compiler-rt] Fix incorrect use of snprintf
Summary:
snprintf returns buffer size needed for printing. If buffer was small, calling
code receives incorrectly symbolized buffer and fail.
Reviewers: eugenis
Subscribers: kubamracek, dberris, kcc
Differential Revision: https://reviews.llvm.org/D29440
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@293930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan')
0 files changed, 0 insertions, 0 deletions