diff options
author | Than McIntosh <thanm@google.com> | 2021-11-04 14:11:57 -0400 |
---|---|---|
committer | Than McIntosh <thanm@google.com> | 2021-11-04 14:11:57 -0400 |
commit | 06a4b2790c5bb6530e0c4f05277b19c187134f49 (patch) | |
tree | 09017cea1bfb6b6ba6eb191438232c064d55153d /misc | |
parent | 35d5cd0dcfb9d06064ec37da1621d24676454058 (diff) | |
parent | 23991f50b34f8707bcfc7761321bb3b0e9dba10e (diff) | |
download | go-06a4b2790c5bb6530e0c4f05277b19c187134f49.tar.gz go-06a4b2790c5bb6530e0c4f05277b19c187134f49.zip |
[dev.boringcrypto.go1.16] all: merge go1.16.10 into dev.boringcrypto.go1.16
Change-Id: I164105d3036f0729da3f0b1dfa034f1d1d6a3a27
Diffstat (limited to 'misc')
-rw-r--r-- | misc/wasm/wasm_exec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/wasm/wasm_exec.js b/misc/wasm/wasm_exec.js index a0a264278b1..48164c3a4be 100644 --- a/misc/wasm/wasm_exec.js +++ b/misc/wasm/wasm_exec.js @@ -566,9 +566,9 @@ // The linker guarantees global data starts from at least wasmMinDataAddr. // Keep in sync with cmd/link/internal/ld/data.go:wasmMinDataAddr. - const wasmMinDataAddr = 4096 + 4096; + const wasmMinDataAddr = 4096 + 8192; if (offset >= wasmMinDataAddr) { - throw new Error("command line too long"); + throw new Error("total length of command line and environment variables exceeds limit"); } this._inst.exports.run(argc, argv); |