1
0
mirror of https://github.com/golang/go synced 2024-09-29 16:24:28 -06:00
go/misc
Richard Musiol 9308637e3c misc/wasm: fix command line arguments containing multi-byte characters
Command line arguments containing multi-byte characters were causing
go_js_wasm_exec to crash (RangeError: Source is too large), because
their byte length was not handled correctly. This change fixes the bug.

Fixes #31645.

Change-Id: I7860ebf5b12da37d9d0f43d4b6a22d326a90edaf
Reviewed-on: https://go-review.googlesource.com/c/go/+/173877
Run-TryBot: Richard Musiol <neelance@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-04-29 17:33:47 +00:00
..
android misc/android: pass on GOPROXY to device environment 2019-03-21 16:15:47 +00:00
arm all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
cgo misc/cgo/testcshared: support testing on self-hosted android 2019-04-16 15:10:00 +00:00
chrome/gophertool
ios misc/ios: don't override GOCACHE on the device 2019-03-21 16:24:05 +00:00
linkcheck
nacl cmd: refresh cmd/vendor to match 'go mod vendor' 2019-03-11 20:27:03 +00:00
reboot cmd/dist: add a test in misc/reboot to verify that the toolchain can self-bootstrap 2019-03-13 21:16:24 +00:00
swig cmd/go: fix swig support and run swig tests during run.bash 2017-11-16 17:19:19 +00:00
trace misc/trace: update trace_viewer_full.html 2018-04-26 20:26:23 +00:00
wasm misc/wasm: fix command line arguments containing multi-byte characters 2019-04-29 17:33:47 +00:00
benchcmp
editors
go.mod misc: add go.mod file 2019-02-27 17:47:31 +00:00