aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2015-01-20 04:20:42 +0000
committerJason Molenda <jmolenda@apple.com>2015-01-20 04:20:42 +0000
commit3bc66f1f4733fd29792c11a686d416aa9ab4cc38 (patch)
treeb9e38cd04effdf208493f2ff78f1969dafc00362 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent65e0642d0318528b98ee818929da95a1763c0a13 (diff)
downloadllvm-3bc66f1f4733fd29792c11a686d416aa9ab4cc38.zip
llvm-3bc66f1f4733fd29792c11a686d416aa9ab4cc38.tar.gz
llvm-3bc66f1f4733fd29792c11a686d416aa9ab4cc38.tar.bz2
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/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions