diff options
author | Jason Molenda <jmolenda@apple.com> | 2015-01-20 04:20:42 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2015-01-20 04:20:42 +0000 |
commit | 3bc66f1f4733fd29792c11a686d416aa9ab4cc38 (patch) | |
tree | b9e38cd04effdf208493f2ff78f1969dafc00362 /llvm/lib/IR/DIBuilder.cpp | |
parent | 65e0642d0318528b98ee818929da95a1763c0a13 (diff) | |
download | bcm5719-llvm-3bc66f1f4733fd29792c11a686d416aa9ab4cc38.tar.gz bcm5719-llvm-3bc66f1f4733fd29792c11a686d416aa9ab4cc38.zip |
Fix creation of StringRef in FileSpec::ResolveUsername()
so it doesn't assume that the SmallVector<char> will have
nul terminator. It did not in at least one case.
Caught by ASAN instrumentation.
llvm-svn: 226544
Diffstat (limited to 'llvm/lib/IR/DIBuilder.cpp')
0 files changed, 0 insertions, 0 deletions