fix Uninitialized import entries lead to undefined behavior During WASM Instantiation

This commit is contained in:
pwang200
2026-01-08 16:14:49 -05:00
committed by GitHub
parent e94321fb41
commit d5c53dcfd2

View File

@@ -415,6 +415,7 @@ ModuleWrapper::buildImports(StorePtr& s, ImportVec const& imports)
"/" + std::to_string(importTypes.vec_.size),
nullptr,
j_);
throw std::runtime_error("Missing imports");
}
return wimports;