diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-07-11 20:59:20 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-07-11 20:59:20 +0000 |
commit | f141156e6c1cdb4830a6afd9da7a1482fcc81d51 (patch) | |
tree | 190077db7be912d9c53c60e4b9a2243fc226af95 /clang/test/Sema/warn-documentation-almost-trailing.c | |
parent | 6d7833f1b6ded15c597be422071080b041acb893 (diff) | |
download | bcm5719-llvm-f141156e6c1cdb4830a6afd9da7a1482fcc81d51.tar.gz bcm5719-llvm-f141156e6c1cdb4830a6afd9da7a1482fcc81d51.zip |
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
llvm-svn: 160075
Diffstat (limited to 'clang/test/Sema/warn-documentation-almost-trailing.c')
0 files changed, 0 insertions, 0 deletions