| commit | 143e1f168221bc48fe8c7c2b04119ffc449e4312 | [log] [tgz] |
|---|---|---|
| author | Jonas Devlieghere <jonas@devlieghere.com> | Wed Sep 13 13:43:01 2017 +0000 |
| committer | Jonas Devlieghere <jonas@devlieghere.com> | Wed Sep 13 13:43:01 2017 +0000 |
| tree | 5ccd2b96eec8b6f6b7b9538b19056a9c690389f9 | |
| parent | 8a07ca8969764d1b16b62c5b98dd6a2dd59f5b8d [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313145 91177308-0d34-0410-b5e6-96231b3b80d8