Gopher Robot submitted the change with unreviewed changes![Open in Gerrit]()
Unreviewed changes
1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: src/runtime/string.go
Insertions: 1, Deletions: 1.
@@ -508,7 +508,7 @@
// actual system page size is larger than this value.
// For Android, we set the page size to the MTE size, as MTE
// might be enforced. See issue 59090.
- const pageSize = 4096 - 4080*goos.IsAndroid
+ const pageSize = 4096*(1-goos.IsAndroid) + 16*goos.IsAndroid
offset := 0
ptr := unsafe.Pointer(s)
```
Change information
Commit message:
runtime: on android/arm64, don't read outside 16-byte regions
Because MTE might be enforced.
Update #59090
Update #27610
Change-Id: Idfaecbf3b7a93c5e371abcace666febfc303de9a
Files:
- M src/internal/bytealg/indexbyte_arm64.s
- M src/runtime/string.go
Change size: S
Delta: 2 files changed, 25 insertions(+), 1 deletion(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +1 by Keith Randall, +2 by Michael Pratt
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Idfaecbf3b7a93c5e371abcace666febfc303de9a
Gerrit-Change-Number: 749062
Gerrit-PatchSet: 3