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

Add a sanity check in MemoryBuffer::getOpenFile() to make sure we don't hang

if the passed in FileSize is inaccurate.

rdar://11034179

llvm-svn: 152662
parent d6f716ab
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