[go] internal/fuzz: use full int64/uint64 range in mutator

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Apr 24, 2026, 12:50:51 PM (20 hours ago) Apr 24
to xie cui, Gerrit Bot, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Carlos Amedee, Keith Randall, Keith Randall, golang...@luci-project-accounts.iam.gserviceaccount.com, Jorropo, Roland Shoemaker, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
internal/fuzz: use full int64/uint64 range in mutator

On 32-bit platforms maxInt and maxUint reflect the native int/uint size, so int64 and uint64 inputs were incorrectly bounded when mutating fuzz arguments.
Change-Id: I94c632cad1812ddfb0534ce6805be944d88166c5
GitHub-Last-Rev: 50037385aed1a0cb55b099250a17437c8544c214
GitHub-Pull-Request: golang/go#78666
Reviewed-by: Keith Randall <k...@google.com>
Auto-Submit: Keith Randall <k...@golang.org>
Reviewed-by: Sean Liao <se...@liao.dev>
Reviewed-by: Carlos Amedee <car...@golang.org>
Reviewed-by: Jorropo <jorro...@gmail.com>
Files:
  • M src/internal/fuzz/mutator.go
Change size: XS
Delta: 1 file changed, 2 insertions(+), 2 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I94c632cad1812ddfb0534ce6805be944d88166c5
Gerrit-Change-Number: 765980
Gerrit-PatchSet: 2
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
Gerrit-Reviewer: Carlos Amedee <car...@golang.org>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Jorropo <jorro...@gmail.com>
Gerrit-Reviewer: Katie Hockman <ka...@golang.org>
Gerrit-Reviewer: Keith Randall <k...@golang.org>
Gerrit-Reviewer: Keith Randall <k...@google.com>
Gerrit-Reviewer: Roland Shoemaker <rol...@golang.org>
Gerrit-Reviewer: Sean Liao <se...@liao.dev>
Gerrit-Reviewer: xie cui <cuiw...@gmail.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages