[PATCH] D38777: [wasm] readSection: Avoid reading past eof (fixes oss-fuzz #3219)

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 18 22:35:01 PDT 2017


vsk added inline comments.


================
Comment at: test/tools/llvm-dwarfdump/X86/fuzzer.test:2
+RUN: not llvm-dwarfdump %S/Inputs/oss-fuzz-3219 2>&1 | FileCheck --check-prefix=FUZZ3219 %s
+FUZZ3219: oss-fuzz-3219: Invalid data was encountered while parsing the file
----------------
sbc100 wrote:
> Any reason this lives in 'X86'?
I think it might be a mistake to conflate the libObject fix here with dwarfdump changes. I'll move the test to test/tools/llvm-objdump.


https://reviews.llvm.org/D38777





More information about the llvm-commits mailing list