diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2017-09-13 13:43:01 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2017-09-13 13:43:01 +0000 |
commit | 81f5abe1add34519bcede582b6b1ca3d6ed895c1 (patch) | |
tree | fafd5e04f6b0f426ce622f12d4cafb92dd176246 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 35f4d7ca463903b3c12c1a00cdd1badb9ef2ca08 (diff) | |
download | llvm-81f5abe1add34519bcede582b6b1ca3d6ed895c1.zip llvm-81f5abe1add34519bcede582b6b1ca3d6ed895c1.tar.gz llvm-81f5abe1add34519bcede582b6b1ca3d6ed895c1.tar.bz2 |
[MachO] Prevent heap overflow when load command extends past EOF
This patch fixes a heap-buffer-overflow when a malformed Mach-O has a
load command who's size extends past the end of the binary.
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3225
Differential revision: https://reviews.llvm.org/D37439
llvm-svn: 313145
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions