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 | 89d054fc64612018f6e38a03c29a9593974b47bd (patch) | |
| tree | 1538ef969d1a159bdfb89aa355527011030ba0d7 /llvm/unittests/ObjectYAML/YAMLTest.cpp | |
| parent | 357b048666bb213b216135d1c240393cfa4df595 (diff) | |
| download | bcm5719-llvm-89d054fc64612018f6e38a03c29a9593974b47bd.tar.gz bcm5719-llvm-89d054fc64612018f6e38a03c29a9593974b47bd.zip | |
[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
llvm-svn: 293930
Diffstat (limited to 'llvm/unittests/ObjectYAML/YAMLTest.cpp')
0 files changed, 0 insertions, 0 deletions

