diff options
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
-rw-r--r-- | llvm/lib/Object/MachOObjectFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp index 0f2c5757269..743166d4bf5 100644 --- a/llvm/lib/Object/MachOObjectFile.cpp +++ b/llvm/lib/Object/MachOObjectFile.cpp @@ -284,7 +284,7 @@ MachOObjectFile::MachOObjectFile(MemoryBufferRef Object, bool IsLittleEndian, BigSize += getHeader().sizeofcmds; if (getData().data() + BigSize > getData().end()) { Err = malformedError(getFileName(), "truncated or malformed object " - "(load commands extends past the end of the file)"); + "(load commands extend past the end of the file)"); return; } |