summaryrefslogtreecommitdiffstats
path: root/clang/test/Coverage/html-diagnostics.c
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-10-25 22:19:54 +0000
committerRui Ueyama <ruiu@google.com>2013-10-25 22:19:54 +0000
commita694171f345c4f420404cb3a422f0fe6996bdea1 (patch)
tree51d53ad4975f4cdc35081b0e39069dcf968f2560 /clang/test/Coverage/html-diagnostics.c
parent39d90422813c533650bb0647bffaddf99cbc554a (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud