]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.21] runtime: fix maps.Clone bug when cloning a map mid-grow
authorKeith Randall <khr@golang.org>
Wed, 23 Aug 2023 22:19:15 +0000 (15:19 -0700)
committerCarlos Amedee <carlos@golang.org>
Fri, 25 Aug 2023 16:37:04 +0000 (16:37 +0000)
commit13339c75b80b906419e37596c0a1b6aeeca3f16c
treeccadfba90ebeb5708e383a4b69554a3d9a64a0e8
parent29777098753015176fa4a596ef5c1b4ecb2ddb3b
[release-branch.go1.21] runtime: fix maps.Clone bug when cloning a map mid-grow

Fixes #62204

Change-Id: I0459d3f481b0cd20102f6d9fd3ea84335a7739a8
Reviewed-on: https://go-review.googlesource.com/c/go/+/522317
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
(cherry picked from commit b303fb48558612e5c2a1f10acbc0b1accdb8f260)
Reviewed-on: https://go-review.googlesource.com/c/go/+/522936
Reviewed-by: Carlos Amedee <carlos@golang.org>
src/runtime/map.go
test/fixedbugs/issue62203.go [new file with mode: 0644]