Skip to content
Commit 61710899 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

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
parent 94b09246
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment