]> Cypherpunks repositories - gostls13.git/commit
internal/asan: match runtime.asan{read,write} len parameter type
authorTobias Klauser <tklauser@distanz.ch>
Tue, 19 Mar 2024 10:23:59 +0000 (11:23 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 19 Mar 2024 16:19:26 +0000 (16:19 +0000)
commit8f7df2256e271c8d8d170791c6cd90ba9cc69f5e
treeb6ace96364468fddf473bdb6714254e9c9fdd94b
parenta73af5d91c4c335fb44ae99517d4c41d5f3960e0
internal/asan: match runtime.asan{read,write} len parameter type

The len parameter runtime.asan{read,write} is of type uintptr. Match its
type in Read and Write.

For #64611

Change-Id: I0be278c38a357e600521ced87c0e23038a11e8a2
Reviewed-on: https://go-review.googlesource.com/c/go/+/572755
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/internal/asan/asan.go
src/internal/asan/noasan.go
src/syscall/syscall_unix.go
src/syscall/syscall_windows.go