| commit | 81f5abe1add34519bcede582b6b1ca3d6ed895c1 | [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 | fafd5e04f6b0f426ce622f12d4cafb92dd176246 | |
| parent | 35f4d7ca463903b3c12c1a00cdd1badb9ef2ca08 [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 llvm-svn: 313145