summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-09-14 21:17:41 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-09-14 21:17:41 +0000
commit617108990d1d4456407adb09149e342603843a8b (patch)
tree3f4fd07a79ba407bbb41302e9caa6538089ab478 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent94b092461d46de8e4f6b1c409cda6d81b882ca93 (diff)
downloadbcm5719-llvm-617108990d1d4456407adb09149e342603843a8b.tar.gz
bcm5719-llvm-617108990d1d4456407adb09149e342603843a8b.zip
In StringLiteral::setString make sure that we copy the number of
bytes of the buffer and not the size of the string, otherwise we may overwrite the buffer if there is a mismatch between the size of the string and the CharByteWidth, and assertions are disabled. The bug where this could occur was fixed in r163931. Related to rdar://12069503 llvm-svn: 163939
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud