]> Cypherpunks.ru repositories - gostls13.git/commit
reflect: when StructOf overflows computing size/offset, panic
authorKeith Randall <khr@golang.org>
Tue, 14 Jun 2022 21:38:56 +0000 (14:38 -0700)
committerKeith Randall <khr@golang.org>
Tue, 14 Jun 2022 23:23:04 +0000 (23:23 +0000)
commitc22a6c3b906cd37616d76da5f504c4c3e5677d94
treef29f68155340cebebadc2909e52129f7d9474c84
parente1e66a03a6bb3210034b640923fa253d7def1a26
reflect: when StructOf overflows computing size/offset, panic

Fixes #52740

Change-Id: I849e585deb77cfcfc1b517be4a171eb29b30c5f3
Reviewed-on: https://go-review.googlesource.com/c/go/+/412214
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@google.com>
src/reflect/all_test.go
src/reflect/type.go