diff options
| author | Vedant Kumar <vsk@apple.com> | 2017-10-23 18:04:34 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2017-10-23 18:04:34 +0000 |
| commit | 35b50a83aba3a5eedd3395341b5be76600a6841c (patch) | |
| tree | f70f4bba61b5f853cf7edcf6653510af4d8505b7 /llvm/test/Bitcode | |
| parent | 1108d072f47b74ff671df61b434a18da02f4dd3e (diff) | |
| download | bcm5719-llvm-35b50a83aba3a5eedd3395341b5be76600a6841c.tar.gz bcm5719-llvm-35b50a83aba3a5eedd3395341b5be76600a6841c.zip | |
[wasm] readSection: Avoid reading past eof (fixes oss-fuzz #3219)
A wasm file crafted with a bogus section size can trigger an ASan issue
in the DWARFObjInMemory constructor. Nip the problem in the bud when we
read the wasm section.
Found by OSS-Fuzz:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3219
Differential Revision: https://reviews.llvm.org/D38777
llvm-svn: 316357
Diffstat (limited to 'llvm/test/Bitcode')
0 files changed, 0 insertions, 0 deletions

