diff options
| author | Rui Ueyama <ruiu@google.com> | 2013-10-25 22:19:54 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2013-10-25 22:19:54 +0000 |
| commit | a694171f345c4f420404cb3a422f0fe6996bdea1 (patch) | |
| tree | 51d53ad4975f4cdc35081b0e39069dcf968f2560 /clang/test/Coverage/html-diagnostics.c | |
| parent | 39d90422813c533650bb0647bffaddf99cbc554a (diff) | |
| download | bcm5719-llvm-a694171f345c4f420404cb3a422f0fe6996bdea1.tar.gz bcm5719-llvm-a694171f345c4f420404cb3a422f0fe6996bdea1.zip | |
Make sure the string is NUL-terminated.
The internal byte array of the SmallString filled by createTemporaryFile() is
not guaranteed to be NUL-terminated. We need to call c_str() to handle it
safely.
llvm-svn: 193442
Diffstat (limited to 'clang/test/Coverage/html-diagnostics.c')
0 files changed, 0 insertions, 0 deletions

