[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:07:00 PDT 2017


vsk added inline comments.


================
Comment at: lib/DebugInfo/DWARF/DWARFContext.cpp:1159
+          return;
+        return;
+      }
----------------
vsk wrote:
> 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?
Hm, maybe I should just leave this change out.


https://reviews.llvm.org/D38777





More information about the llvm-commits mailing list