[PATCH] D43954: [WebAssembly] Check function type indexes
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 1 21:12:20 PST 2018
sbc100 accepted this revision.
sbc100 added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lib/Object/WasmObjectFile.cpp:775
+ if (Type >= MaxType)
+ return make_error<GenericBinaryError>("Invalid function type index",
+ object_error::parse_failed);
----------------
Maybe just "Invalid function type"?
Repository:
rL LLVM
https://reviews.llvm.org/D43954
More information about the llvm-commits
mailing list