[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
Fri Oct 13 15:02:22 PDT 2017


vsk added inline comments.


================
Comment at: lib/DebugInfo/DWARF/DWARFContext.cpp:1159
+          return;
+        return;
+      }
----------------
JDevlieghere wrote:
> Should this be `continue`?
Oops! Yes. More to the point, the test doesn't cover this code.. I was wondering if you know how to test different error policies?


https://reviews.llvm.org/D38777





More information about the llvm-commits mailing list