Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: test/mjsunit/regress/wasm/regression-667745.js

Issue 2640453003: [wasm] Fix and tighten memory validation (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/mjsunit/regress/wasm/regression-667745.js
diff --git a/test/mjsunit/regress/wasm/regression-667745.js b/test/mjsunit/regress/wasm/regression-667745.js
index edc3e23bd38bdfd2469e2b875aa78d2fe8b6660f..7179e54b5c86775577d810afa1ed69a3877f79dc 100644
--- a/test/mjsunit/regress/wasm/regression-667745.js
+++ b/test/mjsunit/regress/wasm/regression-667745.js
@@ -9,6 +9,7 @@ load("test/mjsunit/wasm/wasm-module-builder.js");
(function() {
var builder = new WasmModuleBuilder();
+ builder.addMemory(0, 0, false);
builder.addFunction("test", kSig_i_iii)
.addBody([
kExprI32Const, 0x0b,

Powered by Google App Engine
This is Rietveld 408576698