aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-07-11 20:59:20 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-07-11 20:59:20 +0000
commit10dedb9421467f2813195bcd9c81aca508a1875b (patch)
tree06b606a4365241e1563d6dc5f95ca485a5a1c4d4 /test
parentf9fa3d8b872639d494481b43bee158c4359fc626 (diff)
downloadexternal_llvm-10dedb9421467f2813195bcd9c81aca508a1875b.zip
external_llvm-10dedb9421467f2813195bcd9c81aca508a1875b.tar.gz
external_llvm-10dedb9421467f2813195bcd9c81aca508a1875b.tar.bz2
In MemoryBuffer::getOpenFile() don't verify that the mmap'ed
file buffer is null-terminated. If the file is smaller than we thought, mmap will not allow dereferencing past the pages that are enough to cover the actual file size, even though we asked for a larger address range. rdar://11612916 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160075 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions