mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
fix Uninitialized import entries lead to undefined behavior During WASM Instantiation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user