summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objdump/Inputs/corrupt-section.wasm
Commit message (Collapse)AuthorAgeFilesLines
* [wasm] readSection: Avoid reading past eof (fixes oss-fuzz #3219)Vedant Kumar2017-10-231-0/+0
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
OpenPOWER on IntegriCloud